[OpenSIPS-Users] opensips regster issue

MichaelLeung gbcbooksmj at gmail.com
Sat Jan 23 10:50:56 CET 2016


i fix the problem myself

just add your domain name to opensips.cfg
like:
  listen:udp:yourdoamdin.com:5060


On 01/23/2016 02:59 PM, MichaelLeung wrote:
> any reply ?
>
> On 01/23/2016 01:17 AM, MichaelLeung wrote:
>> Hi team
>>
>> my opensips server can accept regster request using IP address from 
>> client , but will not accept with domain name.
>>
>> there is the output log from debug 4
>>
>> please help me to find out what cause  the problem , thanks
>>
>> ---------------------------------------------------------------------------------------
>> Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]: 
>> DBG:core:parse_msg: SIP Request:
>> Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]: 
>> DBG:core:parse_msg:  method:  <REGISTER>
>> Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]: 
>> DBG:core:parse_msg:  uri:     <sip:sip2.xxxxx.eu.org>
>> Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]: 
>> DBG:core:parse_msg:  version: <SIP/2.0>
>> Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]: 
>> DBG:core:parse_headers: flags=2
>> Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]: 
>> DBG:core:parse_via_param: found param type 232, <branch> = 
>> <z9hG4bK.RhSz~gcCo>; state=6
>> Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]: 
>> DBG:core:parse_via_param: found param type 235, <rport> = <n/a>; state=17
>> Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]: 
>> DBG:core:parse_via: end of header reached, state=5
>> Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]: 
>> DBG:core:parse_headers: via found, flags=2
>> Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]: 
>> DBG:core:parse_headers: this is the first via
>> Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]: 
>> DBG:core:receive_msg: After parse_msg...
>> Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]: 
>> DBG:core:receive_msg: preparing to run routing scripts...
>> Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]: 
>> DBG:core:parse_headers: flags=100
>> Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]: 
>> DBG:core:parse_to: end of header reached, state=9
>> Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]: 
>> DBG:core:parse_to: display={}, ruri={sip:102 at sip2.xxxxx.eu.org}
>> Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]: 
>> DBG:core:get_hdr_field: <To> [30]; uri=[sip:102 at sip2.xxxxx.eu.org]
>> Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]: 
>> DBG:core:get_hdr_field: to body [sip:102 at sip2.xxxxx.eu.org#015#012]
>> Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]: 
>> DBG:core:get_hdr_field: cseq <CSeq>: <30> <REGISTER>
>> Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]: 
>> DBG:maxfwd:is_maxfwd_present: value = 70
>> Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]: 
>> DBG:uri:has_totag: no totag
>> Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]: 
>> DBG:core:parse_headers: flags=78
>> Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]: 
>> DBG:tm:t_lookup_request: start searching: hash=920, isACK=0
>> Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]: 
>> DBG:tm:matching_3261: RFC3261 transaction matching failed
>> Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]: 
>> DBG:tm:t_lookup_request: no transaction found
>> Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]: 
>> DBG:core:parse_headers: flags=200
>> Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]: 
>> DBG:core:get_hdr_field: found end of header
>> Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]: 
>> DBG:rr:find_first_route: No Route headers found
>> Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]: 
>> DBG:rr:loose_route: There is no Route HF
>> Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]: 
>> DBG:core:grep_sock_info: checking if host==us: 20==13 &&  
>> [sip2.xxxxx.eu.org] == [192.168.29.57]
>> Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]: 
>> DBG:core:grep_sock_info: checking if port 5060 matches port 5060
>> Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]: 
>> DBG:core:grep_sock_info: checking if host==us: 20==7 &&  
>> [sip2.xxxxx.eu.org] == [9.9.9.9]
>> Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]: 
>> DBG:core:grep_sock_info: checking if port 5060 matches port 5060
>> Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]: 
>> DBG:core:grep_sock_info: checking if host==us: 20==13 &&  
>> [sip2.xxxxx.eu.org] == [192.168.29.57]
>> Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]: 
>> DBG:core:grep_sock_info: checking if port 5060 matches port 5060
>> Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]: 
>> DBG:core:grep_sock_info: checking if host==us: 20==7 &&  
>> [sip2.xxxxx.eu.org] == [9.9.9.9]
>> Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]: 
>> DBG:core:grep_sock_info: checking if port 5060 matches port 5060
>> Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]: 
>> DBG:core:check_self: host != me
>> Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]: 
>> DBG:core:parse_headers: flags=ffffffffffffffff
>> Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]: 
>> DBG:tm:t_newtran: transaction on entrance=(nil)
>> Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]: 
>> DBG:core:parse_headers: flags=ffffffffffffffff
>> Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]: 
>> DBG:core:parse_headers: flags=78
>> Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]: 
>> DBG:tm:t_lookup_request: start searching: hash=920, isACK=0
>> Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]: 
>> DBG:tm:matching_3261: RFC3261 transaction matching failed
>> Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]: 
>> DBG:tm:t_lookup_request: no transaction found
>> Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]: 
>> DBG:tm:run_reqin_callbacks: trans=0x7f68f3afd860, callback type 1, id 
>> 1 entered
>> Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]: 
>> DBG:tm:run_reqin_callbacks: trans=0x7f68f3afd860, callback type 1, id 
>> 0 entered
>> Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]: 
>> DBG:core:mk_proxy: doing DNS lookup...
>> Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]: 
>> DBG:core:sip_resolvehost: no port, no proto -> do NAPTR lookup!
>> Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]: 
>> DBG:core:get_record: lookup(sip2.xxxxx.eu.org, 35) failed
>> Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]: 
>> DBG:core:sip_resolvehost: no valid NAPTR record found for 
>> sip2.xxxxx.eu.org, trying direct SRV lookup...
>>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20160123/b2b23922/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gbcbooksmj.vcf
Type: text/x-vcard
Size: 4 bytes
Desc: not available
URL: <http://lists.opensips.org/pipermail/users/attachments/20160123/b2b23922/attachment.vcf>


More information about the Users mailing list