<div dir="ltr">Hi,<div><br></div><div>Could be something network related, or firewall? I know you stated phones could register directly to Asterisk but if nothing is showing in Asterisk SIP log, then the requests are never getting to it.</div>
<div><br></div><div>Was your trace performed on Kamailio server or Asterisk?</div><div><br></div><div>Cheers,</div><div><br></div><div>Charles</div><div><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On 13 September 2013 17:12, imperium broadcast <span dir="ltr"><<a href="mailto:imperium.broadcast@gmail.com" target="_blank">imperium.broadcast@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi all I have been trying to figure out where Im going wrong with following this guide:<br>
<a href="http://kb.asipto.com/asterisk:realtime:kamailio-3.3.x-asterisk-10.7.0-astdb" target="_blank">http://kb.asipto.com/asterisk:realtime:kamailio-3.3.x-asterisk-10.7.0-astdb</a><br>
<br>
The only thing that is different is I am using Asterisk 1.8.22.0<br>
<br>
Kamailio works fine and I am able to register a phone to it but the forward register fails to register with Asterisk.<br>
<br>
<br>
Its like Asterisk doesn't see the request even running sip debug on the 
Asterisk Console it doesn't show the register attempts. I have to use 
ngrep to see any thing.<br>
<br>
Realtime works fine when I register the phone on Asterisk.<br>
<br>
Although I can get round the register using AGI I get the same issue 
when passing a call to asterisk, Asterisk doesn't see the invite.<br>
<br>
Am I missing something so obvious :-/  <br>
<br>
<br>
This is what I have in sip.conf<br>
"IP change to protect the innocent!"<br>
<br>
[kamailio-2]<br>
type=peer<br>
host=1.1.1.1<br>
fromdomain=1.1.1.1<br>
context=outgoing<br>
insecure=invite,port<br>
directmedia=nonat<br>
qualify=yes<br>
disallow=all<br>
allow=all<br>
<br>
and this is the sip trace  for the register<br>
<br>
<br>
U 2013/09/13 16:54:50.697484 <a href="http://1.1.1.1:5060" target="_blank">1.1.1.1:5060</a> -> <a href="http://172.16.0.110:5080" target="_blank">172.16.0.110:5080</a><br>
REGISTER sip:<a href="http://172.16.0.110:5080" target="_blank">172.16.0.110:5080</a> SIP/2.0.<br>
Via: SIP/2.0/UDP 1.1.1.1;branch=z9hG4bKd5d1.80da8915.0.<br>
To: <a href="mailto:sip%3A102@172.16.0.110" target="_blank">sip:102@172.16.0.110</a>.<br>
From: <a href="mailto:sip%3A102@172.16.0.110" target="_blank">sip:102@172.16.0.110</a>;tag=533cb9e91f4b999cf76861cbb9ed54ed-65e5.<br>
CSeq: 10 REGISTER.<br>
Call-ID: <a href="mailto:4670378d1185f5b6-25000@127.0.0.1" target="_blank">4670378d1185f5b6-25000@127.0.0.1</a>.<br>
Content-Length: 0.<br>
User-Agent: kamailio (3.3.1 (x86_64/linux)).<br>
Contact: <<a href="http://sip:102@172.16.0.112:5060" target="_blank">sip:102@172.16.0.112:5060</a>>.<br>
Expires: 120.<br>
.<br>
<br>
<br>
U 2013/09/13 16:54:54.697484 <a href="http://1.1.1.1:5060" target="_blank">1.1.1.1:5060</a> -> <a href="http://172.16.0.110:5080" target="_blank">172.16.0.110:5080</a><br>
REGISTER sip:<a href="http://172.16.0.110:5080" target="_blank">172.16.0.110:5080</a> SIP/2.0.<br>
Via: SIP/2.0/UDP 1.1.1.1;branch=z9hG4bKd5d1.80da8915.0.<br>
To: <a href="mailto:sip%3A102@172.16.0.110" target="_blank">sip:102@172.16.0.110</a>.<br>
From: <a href="mailto:sip%3A102@172.16.0.110" target="_blank">sip:102@172.16.0.110</a>;tag=533cb9e91f4b999cf76861cbb9ed54ed-65e5.<br>
CSeq: 10 REGISTER.<br>
Call-ID: <a href="mailto:4670378d1185f5b6-25000@127.0.0.1" target="_blank">4670378d1185f5b6-25000@127.0.0.1</a>.<br>
Content-Length: 0.<br>
User-Agent: kamailio (3.3.1 (x86_64/linux)).<br>
Contact: <<a href="http://sip:102@172.16.0.112:5060" target="_blank">sip:102@172.16.0.112:5060</a>>.<br>
Expires: 120.<br>
<br>
and I have this for my <br>
Asterisk binds in kamamilio.cfg<br>
<br>
#!ifdef WITH_ASTERISK<br>
asterisk.bindip = "172.16.0.110" desc "Asterisk IP Address"<br>
asterisk.bindport = "5080" desc "Asterisk Port"<br>
kamailio.bindip = "172.16.0.112" desc "Kamailio IP Address"<br>
kamailio.bindport = "5060" desc "Kamailio Port"<br>
#!endif<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
<pre cols="72">-- 
Regards
Mick
<br></pre></font></span></div>
<br>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div><br><br>
</div></div>

<br>
<font face="Helvetica, Arial, sans-serif"><font size="2"><span style="font-size:10pt"><a href="http://www.sipcentric.com/" title="blocked::http://www.sipcentric.com/" target="_blank">www.sipcentric.com</a><br>
            <br>
            Follow us on twitter <a href="http://twitter.com/sipcentric" title="blocked::http://twitter.com/sipcentric" target="_blank">@sipcentric</a><br>
            <br>
            <font color="gray">Sipcentric Ltd.
                Company registered in England & Wales no. 7365592.</font> <font color="gray">Registered
                office: Unit 10 iBIC, Birmingham Science Park, Holt Court South, Birmingham B7 4EJ.</font></span></font></font>