[SR-Users] Kamailio IMS: can not register

Carsten Bock carsten at ng-voice.com
Wed Feb 4 08:25:20 CET 2015


Hi,

probably, to digg a litle further into this:
What is the port of your I-CSCF? What is the result of the following
DNS query done on the Proxy-CSCF:

host -t SRV _sip._udp.open-ims.test

Should result in something like:

_sip._udp.open-ims.test has SRV record 10 1 5060 icscf.open-ims.test

Greetings from Hamburg to Asuncion,
Carsten

2015-02-03 1:41 GMT+01:00  <dfretes at ing.una.py>:
> Hi Carsten,
> Thanks for your response. In fact, i don't have any entries for the domain
> open-ims.test in  /etc/hosts. From the client (a win7 host) in which I have
> the Boghe, i can ping to open-ims.test, pcscf, icscf and scscf, using the
> DNS that I configured using bind9 (in the same machine on which I have
> Kamailio.)
>
> Running tcpdump in the Kamailio server:
>
> tcpdump -nvvvqt -s 0 -A -i eth0 port 4060 or port 4070 or port 4080 or port
> 3869 or port 3870
> tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 65535
> bytes
> IP (tos 0x0, ttl 128, id 6497, offset 0, flags [none], proto UDP (17),
> length 945)
>     192.168.1.105.58858 > 192.168.1.109.4060: [udp sum ok] UDP, length 917
> E....a.........i...m......;.REGISTER sip:open-ims.test SIP/2.0
> Via: SIP/2.0/UDP 192.168.1.105:58858;branch=z9hG4bK-1631994;rport
> From: <sip:alice at open-ims.test>;tag=1618516
> To: <sip:alice at open-ims.test>
> Contact:
> <sip:alice at 192.168.1.105:58858;transport=udp>;expires=600000;+g.oma.sip-im;language="en,fr";+g.3gpp.smsip;+g.oma.sip-im.large-message;audio;+g.3gpp.icsi-ref="urn%3Aurn-7%3A3gpp-application.ims.iari.gsma-vs";+g.3gpp.cs-voice
> Call-ID: 6b07dac6-8021-7347-98f8-aacda9bc3232
> CSeq: 22442 REGISTER
> Content-Length: 0
> Max-Forwards: 70
> Authorization: Digest
> username="alice at open-ims.test",realm="open-ims.test",nonce="",uri="sip:open-ims.test",response=""
> Allow: INVITE, ACK, CANCEL, BYE, MESSAGE, OPTIONS, NOTIFY, PRACK, UPDATE,
> REFER
> Privacy: none
> P-Access-Network-Info: ADSL;utran-cell-id-3gpp=00000000
> User-Agent: IM-client/OMA1.0 Boghe-Win32/v2.0.186.1013
> P-Preferred-Identity: <sip:alice at open-ims.test>
> Supported: path
>
>
> IP (tos 0x0, ttl 128, id 6500, offset 0, flags [none], proto UDP (17),
> length 945)
>     192.168.1.105.58858 > 192.168.1.109.4060: [udp sum ok] UDP, length 917
> E....d.........i...m......;.REGISTER sip:open-ims.test SIP/2.0
> Via: SIP/2.0/UDP 192.168.1.105:58858;branch=z9hG4bK-1631994;rport
> From: <sip:alice at open-ims.test>;tag=1618516
> To: <sip:alice at open-ims.test>
> Contact:
> <sip:alice at 192.168.1.105:58858;transport=udp>;expires=600000;+g.oma.sip-im;language="en,fr";+g.3gpp.smsip;+g.oma.sip-im.large-message;audio;+g.3gpp.icsi-ref="urn%3Aurn-7%3A3gpp-application.ims.iari.gsma-vs";+g.3gpp.cs-voice
> Call-ID: 6b07dac6-8021-7347-98f8-aacda9bc3232
> CSeq: 22442 REGISTER
> Content-Length: 0
> Max-Forwards: 70
> Authorization: Digest
> username="alice at open-ims.test",realm="open-ims.test",nonce="",uri="sip:open-ims.test",response=""
> Allow: INVITE, ACK, CANCEL, BYE, MESSAGE, OPTIONS, NOTIFY, PRACK, UPDATE,
> REFER
> Privacy: none
> P-Access-Network-Info: ADSL;utran-cell-id-3gpp=00000000
> User-Agent: IM-client/OMA1.0 Boghe-Win32/v2.0.186.1013
> P-Preferred-Identity: <sip:alice at open-ims.test>
> Supported: path
>
>
> IP (tos 0x10, ttl 64, id 30460, offset 0, flags [none], proto UDP (17),
> length 508)
>     192.168.1.109.4060 > 192.168.1.105.58858: [bad udp cksum 0x8620 ->
> 0x5f13!] UDP, length 480
> E...v... at .}....m...i....... SIP/2.0 100 Trying
> Via: SIP/2.0/UDP
> 192.168.1.105:58858;branch=z9hG4bK-1631994;rport=58858;received=192.168.1.105
> From: <sip:alice at open-ims.test>;tag=1618516
> To: <sip:alice at open-ims.test>
> Call-ID: 6b07dac6-8021-7347-98f8-aacda9bc3232
> CSeq: 22442 REGISTER
> Server: Kamailio P-CSCF
> Content-Length: 0
> Warning: 392 192.168.1.109:4060 "Noisy feedback tells:  pid=3652
> req_src_ip=192.168.1.105 req_src_port=58858 in_uri=sip:open-ims.test
> out_uri=sip:open-ims.test via_cnt==1"
>
>
> IP (tos 0x10, ttl 64, id 30461, offset 0, flags [none], proto UDP (17),
> length 559)
>     192.168.1.109.4060 > 192.168.1.105.58858: [bad udp cksum 0x8653 ->
> 0x0702!] UDP, length 531
> E../v... at .}....m...i.......SSIP/2.0 504 Server Time-Out
> Via: SIP/2.0/UDP
> 192.168.1.105:58858;branch=z9hG4bK-1631994;rport=58858;received=192.168.1.105
> From: <sip:alice at open-ims.test>;tag=1618516
> To: <sip:alice at open-ims.test>;tag=2b412aa97748142710f71297ea0df81c-2931
> Call-ID: 6b07dac6-8021-7347-98f8-aacda9bc3232
> CSeq: 22442 REGISTER
> Server: Kamailio P-CSCF
> Content-Length: 0
> Warning: 392 192.168.1.109:4060 "Noisy feedback tells:  pid=3656
> req_src_ip=192.168.1.105 req_src_port=58858 in_uri=sip:open-ims.test
> out_uri=sip:open-ims.test via_cnt==1"
>
>
> From the log that I have sent in the first message, looks like the Register
> request enter in a loop searching a route, but don't find a way to go to the
> other components of IMS or another place. How to solve? That's what i don't
> know :( . Thanks again for any advice.
>
>
>
>
> On Mon, 2 Feb 2015 11:05:45 +0100, Carsten Bock wrote:
>>
>> Hi,
>>
>> can you make an ngrep or tcpdump, to see, what actually the reply is?
>> Can you also check, that your DNS is properly working? From bare logs
>> it looks like your P-CSCF does not get any reply from your I-CSCF or
>> it fails to forward it.
>> Remember: /etc/hosts won't work, you need a real DNS-Server.
>>
>> Kind regards,
>> Carsten
>>
>> 2015-01-30 22:58 GMT+01:00  <dfretes at ing.una.py>:
>>>
>>> Hi all. I'm trying to setup Kamailio for IMS server, but I've reached a
>>> point where I can not move. Trying to register from the Boghe client, I
>>> get
>>> these errors from the pcscf:
>>>
>>> tail -f /var/log/syslog|grep './pcscf'
>>>
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[DE
>>> FAULT_ROUTE] c=[/etc/kamailio/pcscf/kamailio.cfg] l=402 a=25 n=xlog
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: <script>: REGISTER
>>> (sip:alice@                                             open-ims.test
>>> (192.168.1.105:62044) to sip:alice at open-ims.test, 20236156-7eed-01
>>> e4-daac-5072e67f99e9)
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[DE
>>> FAULT_ROUTE] c=[/etc/kamailio/pcscf/kamailio.cfg] l=414 a=5 n=route
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[RE
>>> QINIT] c=[/etc/kamailio/pcscf/kamailio.cfg] l=594 a=16 n=if
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[RE
>>> QINIT] c=[/etc/kamailio/pcscf/kamailio.cfg] l=576 a=24 n=has_totag
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[RE
>>> QINIT] c=[/etc/kamailio/pcscf/kamailio.cfg] l=584 a=16 n=if
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[RE
>>> QINIT] c=[/etc/kamailio/pcscf/kamailio.cfg] l=590 a=16 n=if
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[RE
>>> QINIT] c=[/etc/kamailio/pcscf/kamailio.cfg] l=584 a=24 n=pike_check_req
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[RE
>>> QINIT] c=[/etc/kamailio/pcscf/kamailio.cfg] l=606 a=16 n=if
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[RE
>>> QINIT] c=[/etc/kamailio/pcscf/kamailio.cfg] l=611 a=16 n=if
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[RE
>>> QINIT] c=[/etc/kamailio/pcscf/kamailio.cfg] l=606 a=25
>>> n=mf_process_maxfwd_heade                                            r
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[RE
>>> QINIT] c=[/etc/kamailio/pcscf/kamailio.cfg] l=617 a=16 n=if
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[RE
>>> QINIT] c=[/etc/kamailio/pcscf/kamailio.cfg] l=611 a=26 n=sanity_check
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[RE
>>> QINIT] c=[/etc/kamailio/pcscf/kamailio.cfg] l=623 a=16 n=if
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[RE
>>> QINIT] c=[/etc/kamailio/pcscf/kamailio.cfg] l=617 a=24 n=has_totag
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[RE
>>> QINIT] c=[/etc/kamailio/pcscf/kamailio.cfg] l=629 a=16 n=if
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[RE
>>> QINIT] c=[/etc/kamailio/pcscf/kamailio.cfg] l=623 a=25 n=is_method
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[RE
>>> QINIT] c=[/etc/kamailio/pcscf/kamailio.cfg] l=633 a=16 n=if
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[RE
>>> QINIT] c=[/etc/kamailio/pcscf/kamailio.cfg] l=629 a=24 n=t_lookup_request
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[RE
>>> QINIT] c=[/etc/kamailio/pcscf/kamailio.cfg] l=636 a=16 n=if
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[RE
>>> QINIT] c=[/etc/kamailio/pcscf/kamailio.cfg] l=633 a=25 n=is_method
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[RE
>>> QINIT] c=[/etc/kamailio/pcscf/kamailio.cfg] l=634 a=26 n=send_reply
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[DE
>>> FAULT_ROUTE] c=[/etc/kamailio/pcscf/kamailio.cfg] l=417 a=5 n=route
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[NA                                            T]
>>> c=[/etc/kamailio/pcscf/kamailio.cfg] l=673 a=55 n=force_rport
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[NA                                            T]
>>> c=[/etc/kamailio/pcscf/kamailio.cfg] l=694 a=16 n=if
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[NA                                            T]
>>> c=[/etc/kamailio/pcscf/kamailio.cfg] l=675 a=25 n=nat_uac_test
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[NA                                            T]
>>> c=[/etc/kamailio/pcscf/kamailio.cfg] l=679 a=16 n=if
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[NA                                            T]
>>> c=[/etc/kamailio/pcscf/kamailio.cfg] l=676 a=25 n=is_method
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[NA                                            T]
>>> c=[/etc/kamailio/pcscf/kamailio.cfg] l=679 a=39 n=setflag
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[NA                                            T]
>>> c=[/etc/kamailio/pcscf/kamailio.cfg] l=687 a=16 n=if
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[NA                                            T]
>>> c=[/etc/kamailio/pcscf/kamailio.cfg] l=680 a=25 n=is_method
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[NA                                            T]
>>> c=[/etc/kamailio/pcscf/kamailio.cfg] l=681 a=24 n=set_contact_alias
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[NA                                            T]
>>> c=[/etc/kamailio/pcscf/kamailio.cfg] l=683 a=26 n=xlog
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[NA                                            T]
>>> c=[/etc/kamailio/pcscf/kamailio.cfg] l=684 a=24 n=nat_keepalive
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[NA                                            T]
>>> c=[/etc/kamailio/pcscf/kamailio.cfg] l=694 a=2 n=return
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[DE
>>> FAULT_ROUTE] c=[/etc/kamailio/pcscf/kamailio.cfg] l=424 a=16 n=if
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[DE
>>> FAULT_ROUTE] c=[/etc/kamailio/pcscf/kamailio.cfg] l=420 a=25 n=is_method
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[DE
>>> FAULT_ROUTE] c=[/etc/kamailio/pcscf/kamailio.cfg] l=458 a=16 n=if
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[DE
>>> FAULT_ROUTE] c=[/etc/kamailio/pcscf/kamailio.cfg] l=424 a=24 n=has_totag
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[DE
>>> FAULT_ROUTE] c=[/etc/kamailio/pcscf/kamailio.cfg] l=465 a=16 n=if
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[DE
>>> FAULT_ROUTE] c=[/etc/kamailio/pcscf/kamailio.cfg] l=458 a=25 n=is_method
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[DE
>>> FAULT_ROUTE] c=[/etc/kamailio/pcscf/kamailio.cfg] l=465 a=24
>>> n=t_check_trans
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[DE
>>> FAULT_ROUTE] c=[/etc/kamailio/pcscf/kamailio.cfg] l=472 a=16 n=if
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[DE
>>> FAULT_ROUTE] c=[/etc/kamailio/pcscf/kamailio.cfg] l=467 a=25 n=is_method
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[DE
>>> FAULT_ROUTE] c=[/etc/kamailio/pcscf/kamailio.cfg] l=468 a=5 n=route
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[RE
>>> GISTER] c=[/etc/kamailio/pcscf/kamailio.cfg] l=812 a=16 n=if
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[RE
>>> GISTER] c=[/etc/kamailio/pcscf/kamailio.cfg] l=810 a=25 n=is_present_hf
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[RE
>>> GISTER] c=[/etc/kamailio/pcscf/kamailio.cfg] l=811 a=25
>>> n=pcscf_save_pending
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[RE
>>> GISTER] c=[/etc/kamailio/pcscf/kamailio.cfg] l=812 a=25 n=t_on_reply
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[RE
>>> GISTER] c=[/etc/kamailio/pcscf/kamailio.cfg] l=813 a=25 n=t_on_failure
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[RE
>>> GISTER] c=[/etc/kamailio/pcscf/kamailio.cfg] l=861 a=16 n=if
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[RE
>>> GISTER] c=[/etc/kamailio/pcscf/kamailio.cfg] l=856 a=25 n=is_present_hf
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[RE
>>> GISTER] c=[/etc/kamailio/pcscf/kamailio.cfg] l=860 a=25 n=append_hf
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[RE
>>> GISTER] c=[/etc/kamailio/pcscf/kamailio.cfg] l=872 a=24 n=t_relay
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[RE
>>> GISTER] c=[/etc/kamailio/pcscf/kamailio.cfg] l=873 a=2 n=exit
>>> Jan 29 22:36:39 kamailioast ./pcscf[3845]: ERROR: ***
>>> cfgtrace:failure_route=[RE
>>> GISTER_failure] c=[/etc/kamailio/pcscf/kamailio.cfg] l=910 a=16 n=if
>>> Jan 29 22:36:39 kamailioast ./pcscf[3845]: ERROR: ***
>>> cfgtrace:failure_route=[RE
>>> GISTER_failure] c=[/etc/kamailio/pcscf/kamailio.cfg] l=908 a=25
>>> n=t_check_status
>>> Jan 29 22:36:39 kamailioast ./pcscf[3845]: ERROR: ***
>>> cfgtrace:failure_route=[RE
>>> GISTER_failure] c=[/etc/kamailio/pcscf/kamailio.cfg] l=909 a=26
>>> n=send_reply
>>>
>>> All the time, this  messages from the scscf:
>>>
>>>  tail -f /var/log/syslog|grep './scscf'
>>> Jan 29 23:50:55 kamailioast ./scscf[3874]: INFO: cdp [peermanager.c:278]:
>>> peer_timer(): peer_timer(): Peer hss.open-ims.test #011State 6
>>> Jan 29 23:50:55 kamailioast ./scscf[3874]: WARNING: cdp
>>> [peermanager.c:313]:
>>> peer_timer(): Inactivity on peer [hss.open-ims.test], sending DWR... - if
>>> we
>>> don't get a reply, the peer will be closed
>>>
>>> and nothing from the icscf.
>>>
>>> Thank you very much for any advice, I've run out of ideas.
>>>
>>>
>>>
>>> _______________________________________________
>>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>>> sr-users at lists.sip-router.org
>>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>
>>
>>
>>
>> --
>> Carsten Bock
>> CEO (Geschäftsführer)
>>
>> ng-voice GmbH
>> Schomburgstr. 80
>> D-22767 Hamburg / Germany
>>
>> http://www.ng-voice.com
>> mailto:carsten at ng-voice.com
>>
>> Office +49 40 5247593-0
>> Fax +49 40 5247593-99
>>
>> Sitz der Gesellschaft: Hamburg
>> Registergericht: Amtsgericht Hamburg, HRB 120189
>> Geschäftsführer: Carsten Bock
>> Ust-ID: DE279344284
>>
>> Hier finden Sie unsere handelsrechtlichen Pflichtangaben:
>> http://www.ng-voice.com/imprint/
>>
>> _______________________________________________
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>> sr-users at lists.sip-router.org
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
> Hi Carsten,
> Thanks for your response. In fact, i don't have any entries for the domain
> open-ims.test in  /etc/hosts. From the client (a win7 host) in which I have
> the Boghe, i can ping to open-ims.test, pcscf, icscf and scscf, using the
> DNS that I configured using bind9 (in the same machine on which I have
> Kamailio.)
>
> Running tcpdump in the Kamailio server:
>
> tcpdump -nvvvqt -s 0 -A -i eth0 port 4060 or port 4070 or port 4080
> tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 65535
> bytes
> IP (tos 0x0, ttl 128, id 9702, offset 0, flags [none], proto UDP (17),
> length 948)
>     192.168.1.105.56738 > 192.168.1.109.4060: [udp sum ok] UDP, length 920
> E...%......,...i...m.......9REGISTER sip:open-ims.test SIP/2.0
> Via: SIP/2.0/UDP 192.168.1.105:56738;branch=z9hG4bK-667891590;rport
> From: <sip:alice at open-ims.test>;tag=667890587
> To: <sip:alice at open-ims.test>
> Contact:
> <sip:alice at 192.168.1.105:56738;transport=udp>;expires=600000;+g.oma.sip-im;language="en,fr";+g.3gpp.smsip;+g.oma.sip-im.large-message;audio;+g.3gpp.icsi-ref="urn%3Aurn-7%3A3gpp-application.ims.iari.gsma-vs";+g.3gpp.cs-voice
> Call-ID: 2614cad3-d4f9-674b-1307-fdadccbb5b01
> CSeq: 4787 REGISTER
> Content-Length: 0
> Max-Forwards: 70
> Authorization: Digest
> username="alice at open-ims.test",realm="open-ims.test",nonce="",uri="sip:open-ims.test",response=""
> Allow: INVITE, ACK, CANCEL, BYE, MESSAGE, OPTIONS, NOTIFY, PRACK, UPDATE,
> REFER
> Privacy: none
> P-Access-Network-Info: ADSL;utran-cell-id-3gpp=00000000
> User-Agent: IM-client/OMA1.0 Boghe-Win32/v2.0.186.1013
> P-Preferred-Identity: <sip:alice at open-ims.test>
> Supported: path
>
>
> IP (tos 0x10, ttl 64, id 24920, offset 0, flags [none], proto UDP (17),
> length 511)
>     192.168.1.109.4060 > 192.168.1.105.56738: [bad udp cksum 0x8623 ->
> 0x0e6d!] UDP, length 483
> E...aX.. at .._...m...i.......#SIP/2.0 100 Trying
> Via: SIP/2.0/UDP
> 192.168.1.105:56738;branch=z9hG4bK-667891590;rport=56738;received=192.168.1.105
> From: <sip:alice at open-ims.test>;tag=667890587
> To: <sip:alice at open-ims.test>
> Call-ID: 2614cad3-d4f9-674b-1307-fdadccbb5b01
> CSeq: 4787 REGISTER
> Server: Kamailio P-CSCF
> Content-Length: 0
> Warning: 392 192.168.1.109:4060 "Noisy feedback tells:  pid=3855
> req_src_ip=192.168.1.105 req_src_port=56738 in_uri=sip:open-ims.test
> out_uri=sip:open-ims.test via_cnt==1"
>
>
> IP (tos 0x10, ttl 64, id 24921, offset 0, flags [none], proto UDP (17),
> length 562)
>     192.168.1.109.4060 > 192.168.1.105.56738: [bad udp cksum 0x8656 ->
> 0xc6be!] UDP, length 534
> E..2aY.. at ..+...m...i.......VSIP/2.0 504 Server Time-Out
> Via: SIP/2.0/UDP
> 192.168.1.105:56738;branch=z9hG4bK-667891590;rport=56738;received=192.168.1.105
> From: <sip:alice at open-ims.test>;tag=667890587
> To: <sip:alice at open-ims.test>;tag=2b412aa97748142710f71297ea0df81c-0aef
> Call-ID: 2614cad3-d4f9-674b-1307-fdadccbb5b01
> CSeq: 4787 REGISTER
> Server: Kamailio P-CSCF
> Content-Length: 0
> Warning: 392 192.168.1.109:4060 "Noisy feedback tells:  pid=3858
> req_src_ip=192.168.1.105 req_src_port=56738 in_uri=sip:open-ims.test
> out_uri=sip:open-ims.test via_cnt==1"
>
> From the log that I have sent in the first message, looks like the Register
> request enter in a loop searching a route, but don't find a way to go to the
> other components of IMS.
>
>
>
>
> On Mon, 2 Feb 2015 11:05:45 +0100, Carsten Bock wrote:
>>
>> Hi,
>>
>> can you make an ngrep or tcpdump, to see, what actually the reply is?
>> Can you also check, that your DNS is properly working? From bare logs
>> it looks like your P-CSCF does not get any reply from your I-CSCF or
>> it fails to forward it.
>> Remember: /etc/hosts won't work, you need a real DNS-Server.
>>
>> Kind regards,
>> Carsten
>>
>> 2015-01-30 22:58 GMT+01:00  <dfretes at ing.una.py>:
>>>
>>> Hi all. I'm trying to setup Kamailio for IMS server, but I've reached a
>>> point where I can not move. Trying to register from the Boghe client, I
>>> get
>>> these errors from the pcscf:
>>>
>>> tail -f /var/log/syslog|grep './pcscf'
>>>
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[DE
>>> FAULT_ROUTE] c=[/etc/kamailio/pcscf/kamailio.cfg] l=402 a=25 n=xlog
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: <script>: REGISTER
>>> (sip:alice@                                             open-ims.test
>>> (192.168.1.105:62044) to sip:alice at open-ims.test, 20236156-7eed-01
>>> e4-daac-5072e67f99e9)
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[DE
>>> FAULT_ROUTE] c=[/etc/kamailio/pcscf/kamailio.cfg] l=414 a=5 n=route
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[RE
>>> QINIT] c=[/etc/kamailio/pcscf/kamailio.cfg] l=594 a=16 n=if
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[RE
>>> QINIT] c=[/etc/kamailio/pcscf/kamailio.cfg] l=576 a=24 n=has_totag
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[RE
>>> QINIT] c=[/etc/kamailio/pcscf/kamailio.cfg] l=584 a=16 n=if
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[RE
>>> QINIT] c=[/etc/kamailio/pcscf/kamailio.cfg] l=590 a=16 n=if
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[RE
>>> QINIT] c=[/etc/kamailio/pcscf/kamailio.cfg] l=584 a=24 n=pike_check_req
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[RE
>>> QINIT] c=[/etc/kamailio/pcscf/kamailio.cfg] l=606 a=16 n=if
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[RE
>>> QINIT] c=[/etc/kamailio/pcscf/kamailio.cfg] l=611 a=16 n=if
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[RE
>>> QINIT] c=[/etc/kamailio/pcscf/kamailio.cfg] l=606 a=25
>>> n=mf_process_maxfwd_heade                                            r
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[RE
>>> QINIT] c=[/etc/kamailio/pcscf/kamailio.cfg] l=617 a=16 n=if
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[RE
>>> QINIT] c=[/etc/kamailio/pcscf/kamailio.cfg] l=611 a=26 n=sanity_check
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[RE
>>> QINIT] c=[/etc/kamailio/pcscf/kamailio.cfg] l=623 a=16 n=if
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[RE
>>> QINIT] c=[/etc/kamailio/pcscf/kamailio.cfg] l=617 a=24 n=has_totag
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[RE
>>> QINIT] c=[/etc/kamailio/pcscf/kamailio.cfg] l=629 a=16 n=if
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[RE
>>> QINIT] c=[/etc/kamailio/pcscf/kamailio.cfg] l=623 a=25 n=is_method
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[RE
>>> QINIT] c=[/etc/kamailio/pcscf/kamailio.cfg] l=633 a=16 n=if
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[RE
>>> QINIT] c=[/etc/kamailio/pcscf/kamailio.cfg] l=629 a=24 n=t_lookup_request
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[RE
>>> QINIT] c=[/etc/kamailio/pcscf/kamailio.cfg] l=636 a=16 n=if
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[RE
>>> QINIT] c=[/etc/kamailio/pcscf/kamailio.cfg] l=633 a=25 n=is_method
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[RE
>>> QINIT] c=[/etc/kamailio/pcscf/kamailio.cfg] l=634 a=26 n=send_reply
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[DE
>>> FAULT_ROUTE] c=[/etc/kamailio/pcscf/kamailio.cfg] l=417 a=5 n=route
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[NA                                            T]
>>> c=[/etc/kamailio/pcscf/kamailio.cfg] l=673 a=55 n=force_rport
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[NA                                            T]
>>> c=[/etc/kamailio/pcscf/kamailio.cfg] l=694 a=16 n=if
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[NA                                            T]
>>> c=[/etc/kamailio/pcscf/kamailio.cfg] l=675 a=25 n=nat_uac_test
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[NA                                            T]
>>> c=[/etc/kamailio/pcscf/kamailio.cfg] l=679 a=16 n=if
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[NA                                            T]
>>> c=[/etc/kamailio/pcscf/kamailio.cfg] l=676 a=25 n=is_method
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[NA                                            T]
>>> c=[/etc/kamailio/pcscf/kamailio.cfg] l=679 a=39 n=setflag
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[NA                                            T]
>>> c=[/etc/kamailio/pcscf/kamailio.cfg] l=687 a=16 n=if
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[NA                                            T]
>>> c=[/etc/kamailio/pcscf/kamailio.cfg] l=680 a=25 n=is_method
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[NA                                            T]
>>> c=[/etc/kamailio/pcscf/kamailio.cfg] l=681 a=24 n=set_contact_alias
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[NA                                            T]
>>> c=[/etc/kamailio/pcscf/kamailio.cfg] l=683 a=26 n=xlog
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[NA                                            T]
>>> c=[/etc/kamailio/pcscf/kamailio.cfg] l=684 a=24 n=nat_keepalive
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[NA                                            T]
>>> c=[/etc/kamailio/pcscf/kamailio.cfg] l=694 a=2 n=return
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[DE
>>> FAULT_ROUTE] c=[/etc/kamailio/pcscf/kamailio.cfg] l=424 a=16 n=if
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[DE
>>> FAULT_ROUTE] c=[/etc/kamailio/pcscf/kamailio.cfg] l=420 a=25 n=is_method
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[DE
>>> FAULT_ROUTE] c=[/etc/kamailio/pcscf/kamailio.cfg] l=458 a=16 n=if
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[DE
>>> FAULT_ROUTE] c=[/etc/kamailio/pcscf/kamailio.cfg] l=424 a=24 n=has_totag
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[DE
>>> FAULT_ROUTE] c=[/etc/kamailio/pcscf/kamailio.cfg] l=465 a=16 n=if
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[DE
>>> FAULT_ROUTE] c=[/etc/kamailio/pcscf/kamailio.cfg] l=458 a=25 n=is_method
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[DE
>>> FAULT_ROUTE] c=[/etc/kamailio/pcscf/kamailio.cfg] l=465 a=24
>>> n=t_check_trans
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[DE
>>> FAULT_ROUTE] c=[/etc/kamailio/pcscf/kamailio.cfg] l=472 a=16 n=if
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[DE
>>> FAULT_ROUTE] c=[/etc/kamailio/pcscf/kamailio.cfg] l=467 a=25 n=is_method
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[DE
>>> FAULT_ROUTE] c=[/etc/kamailio/pcscf/kamailio.cfg] l=468 a=5 n=route
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[RE
>>> GISTER] c=[/etc/kamailio/pcscf/kamailio.cfg] l=812 a=16 n=if
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[RE
>>> GISTER] c=[/etc/kamailio/pcscf/kamailio.cfg] l=810 a=25 n=is_present_hf
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[RE
>>> GISTER] c=[/etc/kamailio/pcscf/kamailio.cfg] l=811 a=25
>>> n=pcscf_save_pending
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[RE
>>> GISTER] c=[/etc/kamailio/pcscf/kamailio.cfg] l=812 a=25 n=t_on_reply
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[RE
>>> GISTER] c=[/etc/kamailio/pcscf/kamailio.cfg] l=813 a=25 n=t_on_failure
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[RE
>>> GISTER] c=[/etc/kamailio/pcscf/kamailio.cfg] l=861 a=16 n=if
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[RE
>>> GISTER] c=[/etc/kamailio/pcscf/kamailio.cfg] l=856 a=25 n=is_present_hf
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[RE
>>> GISTER] c=[/etc/kamailio/pcscf/kamailio.cfg] l=860 a=25 n=append_hf
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[RE
>>> GISTER] c=[/etc/kamailio/pcscf/kamailio.cfg] l=872 a=24 n=t_relay
>>> Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: ***
>>> cfgtrace:request_route=[RE
>>> GISTER] c=[/etc/kamailio/pcscf/kamailio.cfg] l=873 a=2 n=exit
>>> Jan 29 22:36:39 kamailioast ./pcscf[3845]: ERROR: ***
>>> cfgtrace:failure_route=[RE
>>> GISTER_failure] c=[/etc/kamailio/pcscf/kamailio.cfg] l=910 a=16 n=if
>>> Jan 29 22:36:39 kamailioast ./pcscf[3845]: ERROR: ***
>>> cfgtrace:failure_route=[RE
>>> GISTER_failure] c=[/etc/kamailio/pcscf/kamailio.cfg] l=908 a=25
>>> n=t_check_status
>>> Jan 29 22:36:39 kamailioast ./pcscf[3845]: ERROR: ***
>>> cfgtrace:failure_route=[RE
>>> GISTER_failure] c=[/etc/kamailio/pcscf/kamailio.cfg] l=909 a=26
>>> n=send_reply
>>>
>>> All the time, this  messages from the scscf:
>>>
>>>  tail -f /var/log/syslog|grep './scscf'
>>> Jan 29 23:50:55 kamailioast ./scscf[3874]: INFO: cdp [peermanager.c:278]:
>>> peer_timer(): peer_timer(): Peer hss.open-ims.test #011State 6
>>> Jan 29 23:50:55 kamailioast ./scscf[3874]: WARNING: cdp
>>> [peermanager.c:313]:
>>> peer_timer(): Inactivity on peer [hss.open-ims.test], sending DWR... - if
>>> we
>>> don't get a reply, the peer will be closed
>>>
>>> and nothing from the icscf.
>>>
>>> Thank you very much for any advice, I've run out of ideas.
>>>
>>>
>>>
>>> _______________________________________________
>>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>>> sr-users at lists.sip-router.org
>>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>
>>
>>
>>
>> --
>> Carsten Bock
>> CEO (Geschäftsführer)
>>
>> ng-voice GmbH
>> Schomburgstr. 80
>> D-22767 Hamburg / Germany
>>
>> http://www.ng-voice.com
>> mailto:carsten at ng-voice.com
>>
>> Office +49 40 5247593-0
>> Fax +49 40 5247593-99
>>
>> Sitz der Gesellschaft: Hamburg
>> Registergericht: Amtsgericht Hamburg, HRB 120189
>> Geschäftsführer: Carsten Bock
>> Ust-ID: DE279344284
>>
>> Hier finden Sie unsere handelsrechtlichen Pflichtangaben:
>> http://www.ng-voice.com/imprint/
>>
>> _______________________________________________
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>> sr-users at lists.sip-router.org
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users



-- 
Carsten Bock
CEO (Geschäftsführer)

ng-voice GmbH
Schomburgstr. 80
D-22767 Hamburg / Germany

http://www.ng-voice.com
mailto:carsten at ng-voice.com

Office +49 40 5247593-0
Fax +49 40 5247593-99

Sitz der Gesellschaft: Hamburg
Registergericht: Amtsgericht Hamburg, HRB 120189
Geschäftsführer: Carsten Bock
Ust-ID: DE279344284

Hier finden Sie unsere handelsrechtlichen Pflichtangaben:
http://www.ng-voice.com/imprint/



More information about the sr-users mailing list