[Freeswitch-users] enterprise deployment not working

vip killa vipkilla at gmail.com
Fri Aug 19 17:54:56 MSD 2011


I managed to get this working and i wanted to contribute how... i edited
http://wiki.freeswitch.org/wiki/Enterprise_deployment_OpenSIPS#OpenSIPS
but the format is all screwed up and i'd like to add an init.d startup
script
perhaps someone could format that wiki page better and add an init.d script?

On Tue, Aug 16, 2011 at 3:22 PM, vip killa <vipkilla at gmail.com> wrote:

> I did an ngrep trace and opensips is returning:
>
> SIP/2.0 503 Service Unavailable
> CSeq: 54 REGISTER
>
> before it even tries the FS server...
> perhaps this wiki page needs to be updated...
>
>
> On Tue, Aug 16, 2011 at 2:03 PM, vip killa <vipkilla at gmail.com> wrote:
>
>> I'm following tutorial at
>> http://wiki.freeswitch.org/wiki/Enterprise_deployment_<http://wiki.freeswitch.org/wiki/Enterprise_deployment_OpenSIPS>
>> OpenSIPS <http://wiki.freeswitch.org/wiki/Enterprise_deployment_OpenSIPS> and
>> opensips is not forwarding the registration requests...
>> Running opensips-1.6.4-2-tls,
>> Here is what the debugging looks like when i try to register with the
>> opensip box
>> 10.20.30.17 is the opensips box.
>> 10.20.30.18 is the FreeSWITCH box.
>>
>>
>> Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]:
>> DBG:core:parse_msg: SIP Request:
>> Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]:
>> DBG:core:parse_msg:  method:  <REGISTER>
>> Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]:
>> DBG:core:parse_msg:  uri:     <sip:10.20.30.17>
>> Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]:
>> DBG:core:parse_msg:  version: <SIP/2.0>
>> Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]:
>> DBG:core:parse_headers: flags=2
>> Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]:
>> DBG:core:get_hdr_field: cseq <CSeq>: <43> <REGISTER>
>> 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
>> 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
>> Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]:
>> DBG:core:parse_via: end of header reached, state=5
>> Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]:
>> DBG:core:parse_headers: via found, flags=2
>> Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]:
>> DBG:core:parse_headers: this is the first via
>> Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]:
>> DBG:core:receive_msg: After parse_msg...
>> Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]:
>> DBG:core:receive_msg: preparing to run routing scripts...
>> Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]:
>> DBG:core:parse_headers: flags=100
>> Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]:
>> DBG:core:parse_to: end of header reached, state=10
>> Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]:
>> DBG:core:parse_to: display={}, ruri={sip:1000 at 10.20.30.17}
>> Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]:
>> DBG:core:get_hdr_field: <To> [24]; uri=[sip:1000 at 10.20.30.17]
>>  ]  16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]:
>> DBG:core:get_hdr_field: to body [<sip:1000 at 10.20.30.17>
>> Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]:
>> DBG:core:get_hdr_field: content_length=0
>> Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]:
>> DBG:maxfwd:is_maxfwd_present: value = 70
>> Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]:
>> DBG:uri:has_totag: no totag
>> Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]:
>> DBG:core:parse_to_param: tag=70ea9ca0-e604-1910-80bc-002622a67db9
>> Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]:
>> DBG:core:parse_to: end of header reached, state=29
>> Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]:
>> DBG:core:parse_to: display={}, ruri={sip:1000 at 10.20.30.17}
>> Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]:
>> DBG:dispatcher:ds_select_dst: set [1]
>> Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]:
>> DBG:dispatcher:ds_select_dst: alg hash [1], id [1]
>> Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]:
>> DBG:core:parse_headers: flags=ffffffffffffffff
>> Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]:
>> DBG:core:get_hdr_field: found end of header
>> 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
>> Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]:
>> DBG:core:destroy_avp_list: destroying list (nil)
>> Aug 16 13:40:14 voipdev1 /usr/local/sbin/opensips[2580]:
>> DBG:core:receive_msg: cleaning up
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110819/00c4f085/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list