The grep return nothing, looks like the registration is not happening<div><br>This is what I get in sems log</div><div><br></div><div><div>Nov 27 17:47:53 spce sems[26980]: [#7fd6e9ec0700] [send, transport.cpp:114] ERROR: sendto: Invalid argument</div>
<div>Nov 27 17:47:53 spce sems[26980]: [#7fd6e9ec0700] [send_request, trans_layer.cpp:928] ERROR: Error from transport layer</div><div>Nov 27 17:47:53 spce sems[26980]: [#7fd6e9ec0700] [doRegistration, AmSipRegistration.cpp:139] ERROR: failed to send registration.</div>
</div><div><br></div><div>Is this the problem?</div><div><br><div class="gmail_quote">On Tue, Nov 27, 2012 at 6:57 AM, Daniel Grotti <span dir="ltr"><<a href="mailto:dgrotti@sipwise.com" target="_blank">dgrotti@sipwise.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div><tt>Hi,</tt><tt><br>
</tt><tt>
you can check the register response in
/var/log/ngcp/kamailio-lb.log.</tt><tt><br>
</tt><tt>
Try ro run:</tt><tt><br>
</tt><tt>
</tt><tt><br>
</tt><tt>
grep -nr "Outbound Register request from b2bua"
/var/log/ngcp/kamailio-lb.log</tt><tt><br>
</tt><tt>
</tt><tt><br>
</tt><tt>
then copy&paste the call ID number you get and grep again
using the ID number.</tt><tt><br>
</tt><tt>
In this way you can see your registration transaction.</tt><tt><br>
</tt><tt>
</tt><tt><br>
</tt><tt>
Regards.</tt><div><div class="h5"><tt><br>
</tt><tt><br>
</tt><tt><br>
</tt><tt><br>
</tt><tt><br>
</tt><tt>On 11/26/2012 05:46 PM, Ali Ardestani wrote:</tt><br>
</div></div></div>
<blockquote type="cite"><div><div class="h5">Hi,
<div>I have added my trunking peer registration under peer
settings as below:</div>
<div><br>
</div>
<div>
<div>peer_auth_user:$USER</div>
<div>peer_auth_pass: $PASS</div>
<div>peer_auth_realm: $TRUNK_IP_ADDR</div>
<div>peer_auth_register: CHECKED</div>
<div><br>
</div>
<div>I have also put the same credentials in</div>
<div>/etc/ngcp-config/templates/etc/sems/etc/reg_agent.conf.tt2</div>
<div><br>
</div>
<div>and done a ngcpcfg apply</div>
<div><br>
</div>
<div>I do not see a REGISTER when I do a ngrep-sip -q r</div>
<div><br>
</div>
<div>Is there a step I have missed,</div>
<div><br>
</div>
<div>Can you please tell me how I can checked sipwise registry
to the existing trunking peer registrations?</div>
<div><br>
</div>
<div><br>
</div>
-- <br>
<div>-- </div>
<div>Ali S Ardestani </div>
<div>Telephony Systems Engineer</div>
<div>Private National Mortgage Acceptance Company (PennyMac)</div>
<div>6101 Condor Drive</div>
<div>Moorpark, CA 93021</div>
<div><br>
</div>
<div>
(805) 330-6004 Office</div>
<div>(818) 224-7442 x2654 Office</div>
<div>(626) 817-3512 Mobile</div>
<div>(818) 224-7397 Fax</div>
<div><br>
</div>
<div><a href="mailto:ali.ardestani@pnmac.com" target="_blank">ali.ardestani@pnmac.com</a></div>
<br>
</div>
<br>
<fieldset></fieldset>
<br>
</div></div><pre>_______________________________________________
Spce-user mailing list
<a href="mailto:Spce-user@lists.sipwise.com" target="_blank">Spce-user@lists.sipwise.com</a>
<a href="http://lists.sipwise.com/listinfo/spce-user" target="_blank">http://lists.sipwise.com/listinfo/spce-user</a>
</pre>
</blockquote>
<br>
</div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div>-- </div><div>Ali S Ardestani </div><div>Telephony Systems Engineer</div><div>Private National Mortgage Acceptance Company (PennyMac)</div><div>6101 Condor Drive</div>
<div>Moorpark, CA 93021</div><div><br></div><div>(805) 330-6004 Office</div><div>(818) 224-7442 x2654 Office</div><div>(626) 817-3512 Mobile</div><div>(818) 224-7397 Fax</div><div><br></div><div><a href="mailto:ali.ardestani@pnmac.com" target="_blank">ali.ardestani@pnmac.com</a></div>
<br>
</div>