Hello,

it seems that the response to the invite doesn't have a Contact header. Can you check that? You can print the message in logs with $mb.

Cheers,
Daniel

On 17/10/16 22:46, Serhat Guler wrote:
Dear all,

I can register the sipml5 client to my kamailio IMS setup successfully, but when I try to make a call the invite fails with "478 Unresolvable destination". From the wireshark trace file I think the PCSCF on the terminating side cannot resolve the destination. After the invite request fails the caller re-registers to the networkj automatically. The wireshark file is attached. 

The registration process happens successfully but all of the nodes give some errors:

10(3773) INFO: <script>:  [REGISTER] from [sip:alice@net1.test] to [sip:alice@net1.test]
10(3773) ERROR: *** cfgtrace:request_route=[DEFAULT_ROUTE] c=[/usr/local/etc/kamailio/kamailio-pcscf.cfg] l=425 a=25 n=xlog
10(3773) ERROR: <script>: REGISTER (sip:alice@net1.test (192.168.0.10:14115) to sip:alice@net1.test, 25c80750-d52d-30c8-d373-c0136401a927)
10(3773) ERROR: *** cfgtrace:request_route=[DEFAULT_ROUTE] c=[/usr/local/etc/kamailio/kamailio-pcscf.cfg] l=437 a=16 n=if
10(3773) ERROR: *** cfgtrace:request_route=[DEFAULT_ROUTE] c=[/usr/local/etc/kamailio/kamailio-pcscf.cfg] l=437 a=5 n=route
10(3773) ERROR: *** cfgtrace:request_route=[REQINIT] c=[/usr/local/etc/kamailio/kamailio-pcscf.cfg] l=627 a=16 n=if
10(3773) ERROR: *** cfgtrace:request_route=[REQINIT] c=[/usr/local/etc/kamailio/kamailio-pcscf.cfg] l=622 a=25 n=mf_process_maxfwd_header
10(3773) DEBUG: <core> [parser/msg_parser.c:153]: get_hdr_field(): get_hdr_field: cseq <CSeq>: <59840> <REGISTER>
10(3773) DEBUG: <core> [parser/msg_parser.c:187]: get_hdr_field(): DEBUG: get_hdr_body : content_length=0
10(3773) DEBUG: maxfwd [mf_funcs.c:85]: is_maxfwd_present(): value = 70
10(3773) ERROR: *** cfgtrace:request_route=[REQINIT] c=[/usr/local/etc/kamailio/kamailio-pcscf.cfg] l=633 a=16 n=if
10(3773) ERROR: *** cfgtrace:request_route=[REQINIT] c=[/usr/local/etc/kamailio/kamailio-pcscf.cfg] l=627 a=26 n=sanity_check
10(3773) DEBUG: <core> [parser/msg_parser.c:89]: get_hdr_field(): found end of header
10(3773) DEBUG: sanity [mod_sanity.c:248]: w_sanity_check(): sanity checks result: 1
10(3773) ERROR: *** cfgtrace:request_route=[REQINIT] c=[/usr/local/etc/kamailio/kamailio-pcscf.cfg] l=639 a=16 n=if
10(3773) ERROR: *** cfgtrace:request_route=[REQINIT] c=[/usr/local/etc/kamailio/kamailio-pcscf.cfg] l=633 a=24 n=has_totag
10(3773) DEBUG: siputils [checks.c:97]: has_totag(): no totag
10(3773) DEBUG: <core> [select.c:412]: run_select(): Calling SELECT 0xb6e5fe40
10(3773) ERROR: *** cfgtrace:request_route=[REQINIT] c=[/usr/local/etc/kamailio/kamailio-pcscf.cfg] l=645 a=16 n=if
10(3773) ERROR: *** cfgtrace:request_route=[REQINIT] c=[/usr/local/etc/kamailio/kamailio-pcscf.cfg] l=639 a=25 n=is_method
10(3773) ERROR: *** cfgtrace:request_route=[REQINIT] c=[/usr/local/etc/kamailio/kamailio-pcscf.cfg] l=649 a=16 n=if
10(3773) ERROR: *** cfgtrace:request_route=[REQINIT] c=[/usr/local/etc/kamailio/kamailio-pcscf.cfg] l=645 a=24 n=t_lookup_request
10(3773) DEBUG: tm [t_lookup.c:1011]: t_check_msg(): DEBUG: t_check_msg: msg id=2 global id=1 T start=0xffffffff
10(3773) DEBUG: tm [t_lookup.c:466]: t_lookup_request(): t_lookup_request: start searching: hash=21728, isACK=0
10(3773) DEBUG: tm [t_lookup.c:424]: matching_3261(): DEBUG: RFC3261 transaction matching failed
10(3773) DEBUG: tm [t_lookup.c:648]: t_lookup_request(): DEBUG: t_lookup_request: no transaction found
10(3773) DEBUG: tm [t_lookup.c:1080]: t_check_msg(): DEBUG: t_check_msg: msg id=2 global id=2 T end=(nil)
10(3773) ERROR: *** cfgtrace:request_route=[REQINIT] c=[/usr/local/etc/kamailio/kamailio-pcscf.cfg] l=652 a=16 n=if
10(3773) ERROR: *** cfgtrace:request_route=[REQINIT] c=[/usr/local/etc/kamailio/kamailio-pcscf.cfg] l=649 a=25 n=is_method
10(3773) ERROR: *** cfgtrace:request_route=[REQINIT] c=[/usr/local/etc/kamailio/kamailio-pcscf.cfg] l=650 a=26 n=send_reply
10(3773) DEBUG: sl [sl.c:280]: send_reply(): reply in stateless mode (sl)
10(3773) DEBUG: websocket [ws_conn.c:429]: wsconn_get(): wsconn_get for id [2]
10(3773) DEBUG: websocket [ws_conn.c:437]: wsconn_get(): wsconn_get returns wsc [0xb2329228] refcnt [2]
10(3773) DEBUG: websocket [ws_frame.c:751]: ws_frame_transmit(): Tx message:


The SCSCF says (while inviting):
 0(3582) ERROR: dialog_ng [dlg_handlers.c:196]: populate_leg_info(): bad sip message or missing Contact hdr
 0(3582) ERROR: dialog_ng [dlg_handlers.c:453]: dlg_onreply(): could not add further info to the dlg out

Making calls between 2 IMS clients(boghe) is possible.

Would appreciate any help (I can share the cfg files if needed).

Cheers,
Serhat



_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Berlin, Oct 24-26, 2016 - http://www.asipto.com