I managed to get this working and i wanted to contribute how... i edited <a href="http://wiki.freeswitch.org/wiki/Enterprise_deployment_OpenSIPS#OpenSIPS">http://wiki.freeswitch.org/wiki/Enterprise_deployment_OpenSIPS#OpenSIPS</a><div>
but the format is all screwed up and i'd like to add an init.d startup script</div><div>perhaps someone could format that wiki page better and add an init.d script?</div><div><br><div class="gmail_quote">On Tue, Aug 16, 2011 at 3:22 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;">I did an ngrep trace and opensips is returning:<br><div><br></div><div>SIP/2.0 503 Service Unavailable</div><div>CSeq: 54 REGISTER</div>
<div><br></div><div>before it even tries the FS server...</div><div>perhaps this wiki page needs to be updated...</div><div><div></div><div class="h5">
<div><br></div><br><div class="gmail_quote">On Tue, Aug 16, 2011 at 2:03 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">
<span style="font-family:arial, sans-serif;font-size:13px;background-color:rgb(255, 255, 255)">I'm following tutorial at <a href="http://wiki.freeswitch.org/wiki/Enterprise_deployment_OpenSIPS" style="color:rgb(7, 77, 143)" target="_blank">http://wiki.freeswitch.org/wiki/Enterprise_deployment_</a></span><span style="font-family:arial, sans-serif;font-size:13px;background-color:rgb(255, 255, 255)"><a href="http://wiki.freeswitch.org/wiki/Enterprise_deployment_OpenSIPS" style="color:rgb(7, 77, 143)" target="_blank">OpenSIPS</a> and opensips is not forwarding the registration requests...</span><div>
<span style="font-family:arial, sans-serif;font-size:13px;background-color:rgb(255, 255, 255)">Running opensips-1.6.4-2-tls, </span></div><div><span style="font-family:arial, sans-serif;font-size:13px;background-color:rgb(255, 255, 255)">Here is what the debugging looks like when i try to register with the opensip box</span></div>
<div><span style="font-family:arial, sans-serif;font-size:13px;background-color:rgb(255, 255, 255)"><div>10.20.30.17 is the opensips box.</div><div>10.20.30.18 is the FreeSWITCH box.</div><div>
<br></div><div><br></div><div>Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]: DBG:core:parse_msg: SIP Request: </div><div>Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]: DBG:core:parse_msg: method: <REGISTER> </div>
<div>Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]: DBG:core:parse_msg: uri: <sip:10.20.30.17> </div><div>Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]: DBG:core:parse_msg: version: <SIP/2.0> </div>
<div>Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]: DBG:core:parse_headers: flags=2 </div><div>Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]: DBG:core:get_hdr_field: cseq <CSeq>: <43> <REGISTER> </div>
<div>Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]: DBG:core:parse_via_param: found param type 232, <branch> = <z9hG4bKda029da0-e604-1910-80bc-002622a67db9>; state=6 </div><div>Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]: DBG:core:parse_via_param: found param type 235, <rport> = <n/a>; state=17 </div>
<div>Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]: DBG:core:parse_via: end of header reached, state=5 </div><div>Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]: DBG:core:parse_headers: via found, flags=2 </div>
<div>Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]: DBG:core:parse_headers: this is the first via </div><div>Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]: DBG:core:receive_msg: After parse_msg... </div>
<div>Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]: DBG:core:receive_msg: preparing to run routing scripts... </div><div>Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]: DBG:core:parse_headers: flags=100 </div>
<div>Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]: DBG:core:parse_to: end of header reached, state=10 </div><div>Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]: DBG:core:parse_to: display={}, ruri={<a href="mailto:sip%3A1000@10.20.30.17" style="color:rgb(7, 77, 143)" target="_blank">sip:1000@10.20.30.17</a>} </div>
<div>Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]: DBG:core:get_hdr_field: <To> [24]; uri=[<a href="mailto:sip%3A1000@10.20.30.17" style="color:rgb(7, 77, 143)" target="_blank">sip:1000@10.20.30.17</a>] </div>
<div> ] 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]: DBG:core:get_hdr_field: to body [<<a href="mailto:sip%3A1000@10.20.30.17" style="color:rgb(7, 77, 143)" target="_blank">sip:1000@10.20.30.17</a>></div>
<div>Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]: DBG:core:get_hdr_field: content_length=0 </div><div>Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]: DBG:maxfwd:is_maxfwd_present: value = 70 </div><div>
Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]: DBG:uri:has_totag: no totag </div><div>Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]: DBG:core:parse_to_param: tag=70ea9ca0-e604-1910-80bc-002622a67db9 </div>
<div>Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]: DBG:core:parse_to: end of header reached, state=29 </div><div>Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]: DBG:core:parse_to: display={}, ruri={<a href="mailto:sip%3A1000@10.20.30.17" style="color:rgb(7, 77, 143)" target="_blank">sip:1000@10.20.30.17</a>} </div>
<div>Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]: DBG:dispatcher:ds_select_dst: set [1] </div><div>Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]: DBG:dispatcher:ds_select_dst: alg hash [1], id [1] </div>
<div>Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]: DBG:core:parse_headers: flags=ffffffffffffffff </div><div>Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]: DBG:core:get_hdr_field: found end of header </div>
<div>Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]: DBG:core:check_ip_address: params 72.237.213.162, 72.237.213.162, 0 </div><div>Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]: DBG:core:destroy_avp_list: destroying list (nil) </div>
<div>Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]: DBG:core:receive_msg: cleaning up </div></span></div>
</blockquote></div><br>
</div></div></blockquote></div><br></div>