In case anyone was wondering, i had to set the flags = 0 <br>so my dispatcher table looked like:<br><div>+----+-------+-----------------+-------+--------+-------+-------------+</div><div>| id | setid | destination | flags | weight | attrs | description |</div>
<div>+----+-------+-----------------+-------+--------+-------+-------------+</div><div>| 4 | 1 | sip:10.20.30.18 | 0 | 1 | | FS1 |</div><div>+----+-------+-----------------+-------+--------+-------+-------------+</div>
<div><br></div><div>or you can just run this command:</div><div>opensipsctl dispatcher addgw 1 sip:10.20.30.18 0 'FS1'</div><div><br></div><div><br><div class="gmail_quote">On Tue, Aug 16, 2011 at 2:14 PM, vip killa <span dir="ltr"><<a href="mailto:vipkilla@gmail.com">vipkilla@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>----------------begin of packet -----------------------------</div><div>U 2011/08/16 14:11:53.026316 <a href="http://72.237.213.162:5060" target="_blank">72.237.213.162:5060</a> -> <a href="http://10.20.30.17:5060" target="_blank">10.20.30.17:5060</a></div>
<div><br></div><div>REGISTER sip:10.20.30.17 SIP/2.0</div><div>CSeq: 54 REGISTER</div><div>Via: SIP/2.0/UDP 72.237.213.162:5060;branch=z9hG4bKc5a0eeab-e604-1910-80c1-002622a67db9;rport</div><div>User-Agent: Ekiga/3.2.7</div>
<div>From: <<a href="mailto:sip%3A1000@10.20.30.17" target="_blank">sip:1000@10.20.30.17</a>>;tag=758eeeab-e604-1910-80c1-002622a67db9</div><div>Call-ID: 758eeeab-e604-1910-80c0-002622a67db9@ievolve113</div><div>To: <<a href="mailto:sip%3A1000@10.20.30.17" target="_blank">sip:1000@10.20.30.17</a>></div>
<div>Contact: <<a href="http://sip:1000@72.237.213.162:5060" target="_blank">sip:1000@72.237.213.162:5060</a>>;q=1</div><div>Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,SUBSCRIBE,NOTIFY,REFER,MESSAGE,INFO,PING</div><div>Expires: 3600</div>
<div>Content-Length: 0</div><div>Max-Forwards: 70</div><div><br></div><div> </div><div>------------------end of packet -----------------------------</div>
<div>----------------begin of packet -----------------------------</div><div>U 2011/08/16 14:11:53.356244 <a href="http://10.20.30.17:5060" target="_blank">10.20.30.17:5060</a> -> <a href="http://72.237.213.162:5060" target="_blank">72.237.213.162:5060</a></div>
<div><br></div><div>SIP/2.0 503 Service Unavailable</div><div>CSeq: 54 REGISTER</div><div>Via: SIP/2.0/UDP 72.237.213.162:5060;branch=z9hG4bKc5a0eeab-e604-1910-80c1-002622a67db9;rport=5060</div><div>From: <<a href="mailto:sip%3A1000@10.20.30.17" target="_blank">sip:1000@10.20.30.17</a>>;tag=758eeeab-e604-1910-80c1-002622a67db9</div>
<div>Call-ID: 758eeeab-e604-1910-80c0-002622a67db9@ievolve113</div><div>To: <<a href="mailto:sip%3A1000@10.20.30.17" target="_blank">sip:1000@10.20.30.17</a>>;tag=eb64f4865b25b383530fbea3a793a5fa.2d86</div><div>Server: OpenSIPS (1.6.4-2-notls (x86_64/linux))</div>
<div>Content-Length: 0</div><div><br></div><div> </div><div>------------------end of packet -----------------------------</div>
<div><div></div><div class="h5">
<br><div class="gmail_quote">On Tue, Aug 16, 2011 at 2:08 PM, vip killa <span dir="ltr"><<a href="mailto:vipkilla@gmail.com" target="_blank">vipkilla@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>this is the dispatcher table:</div><div>+----+-------+-----------------+-------+--------+-------+-------------+</div><div>| id | setid | destination | flags | weight | attrs | description |</div><div>+----+-------+-----------------+-------+--------+-------+-------------+</div>
<div>| 3 | 1 | sip:10.20.30.18 | 1 | 1 | | FS1 |</div><div>+----+-------+-----------------+-------+--------+-------+-------------+</div><div><br></div><div><br></div><div>i dont see any response... i supposed i should do an ngrep</div>
<div><div></div><div>
<div><br></div><br><div class="gmail_quote">On Tue, Aug 16, 2011 at 2:04 PM, Mario Stocco <span dir="ltr"><<a href="mailto:info@advantia.ca" target="_blank">info@advantia.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Do you have entries in your dispatcher table for your Freeswitch system(s)?<br>
What is response returned to the registering UA?<br>
<br>
Mario<br>
<a href="http://advantia.ca" target="_blank">http://advantia.ca</a><br>
<div><div></div><div><br>
On Tue, Aug 16, 2011 at 10:47 AM, vip killa <<a href="mailto:vipkilla@gmail.com" target="_blank">vipkilla@gmail.com</a>> wrote:<br>
> Running opensips-1.6.4-2-tls, I cannot get OpenSIPS to forward the<br>
> registration request to FreeSWITCH. Here is what the debugging looks like<br>
> when i try to register with the opensip box<br>
> 10.20.30.17 is the opensips box.<br>
> 10.20.30.18 is the FreeSWITCH box.<br>
> my opensips.cfg is copied from<br>
> <a href="http://wiki.freeswitch.org/wiki/Enterprise_deployment_OpenSIPS" target="_blank">http://wiki.freeswitch.org/wiki/Enterprise_deployment_OpenSIPS</a> with the IPs<br>
> switched out appropriately<br>
> Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]: DBG:core:parse_msg:<br>
> SIP Request:<br>
> Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]: DBG:core:parse_msg:<br>
> method: <REGISTER><br>
> Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]: DBG:core:parse_msg:<br>
> uri: <sip:10.20.30.17><br>
> Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]: DBG:core:parse_msg:<br>
> version: <SIP/2.0><br>
> Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]:<br>
> DBG:core:parse_headers: flags=2<br>
> Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]:<br>
> DBG:core:get_hdr_field: cseq <CSeq>: <43> <REGISTER><br>
> Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]:<br>
> DBG:core:parse_via_param: found param type 232, <branch> =<br>
> <z9hG4bKda029da0-e604-1910-80bc-002622a67db9>; state=6<br>
> Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]:<br>
> DBG:core:parse_via_param: found param type 235, <rport> = <n/a>; state=17<br>
> Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]: DBG:core:parse_via:<br>
> end of header reached, state=5<br>
> Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]:<br>
> DBG:core:parse_headers: via found, flags=2<br>
> Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]:<br>
> DBG:core:parse_headers: this is the first via<br>
> Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]:<br>
> DBG:core:receive_msg: After parse_msg...<br>
> Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]:<br>
> DBG:core:receive_msg: preparing to run routing scripts...<br>
> Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]:<br>
> DBG:core:parse_headers: flags=100<br>
> Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]: DBG:core:parse_to:<br>
> end of header reached, state=10<br>
> Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]: DBG:core:parse_to:<br>
> display={}, ruri={<a href="mailto:sip%3A1000@10.20.30.17" target="_blank">sip:1000@10.20.30.17</a>}<br>
> Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]:<br>
> DBG:core:get_hdr_field: <To> [24]; uri=[<a href="mailto:sip%3A1000@10.20.30.17" target="_blank">sip:1000@10.20.30.17</a>]<br>
> ] 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]:<br>
> DBG:core:get_hdr_field: to body [<<a href="mailto:sip%3A1000@10.20.30.17" target="_blank">sip:1000@10.20.30.17</a>><br>
> Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]:<br>
> DBG:core:get_hdr_field: content_length=0<br>
> Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]:<br>
> DBG:maxfwd:is_maxfwd_present: value = 70<br>
> Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]: DBG:uri:has_totag:<br>
> no totag<br>
> Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]:<br>
> DBG:core:parse_to_param: tag=70ea9ca0-e604-1910-80bc-002622a67db9<br>
> Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]: DBG:core:parse_to:<br>
> end of header reached, state=29<br>
> Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]: DBG:core:parse_to:<br>
> display={}, ruri={<a href="mailto:sip%3A1000@10.20.30.17" target="_blank">sip:1000@10.20.30.17</a>}<br>
> Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]:<br>
> DBG:dispatcher:ds_select_dst: set [1]<br>
> Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]:<br>
> DBG:dispatcher:ds_select_dst: alg hash [1], id [1]<br>
> Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]:<br>
> DBG:core:parse_headers: flags=ffffffffffffffff<br>
> Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]:<br>
> DBG:core:get_hdr_field: found end of header<br>
> Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]:<br>
> DBG:core:check_ip_address: params 72.237.213.162, 72.237.213.162, 0<br>
> Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]:<br>
> DBG:core:destroy_avp_list: destroying list (nil)<br>
> Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]:<br>
> DBG:core:receive_msg: cleaning up<br>
</div></div>> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
><br>
><br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div><br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br></div>