How to map domain name into IP address in IMS registration? Dear all, I want to register an account with IMS,because the core network is IMS network,I must use domain name(sip:huawei.com) for registration. I wrote config file as fallows: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # This is a comment in the config file. --auto-play-hangup --rec-file=rec.wav --auto-rec --play-file=123.wav --use-ims --id=sip:88880014 at huawei.com <sip%3A88880014 at huawei.com> --registrar=sip:huawei.com --realm=huawei.com --username=88880014 at huawei.com --contact=sip:88880014 at 192.168.9.111 <sip%3A88880014 at 192.168.9.111> --no-tcp --nameserver=202.106.46.151 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The softswitch IP address of the registar is sip:121.33.232.99, it seems that it can?t find this IP from the domain name sip: huawei.com, then the registration is failed with the error 408 <request time out> The log file is as fallows: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ RREGISTER sip:huawei.com SIP/2.0 Via: SIP/2.0/UDP 192.168.9.111:5060 ;rport;branch=z9hG4bKPj8018b068a8f7439eb3765399cc765d3e Max-Forwards: 70 From: <sip:88880014@xxxxxxxxxx <sip%3A88880014 at huawei.com> >;tag=a44b5852cd304d3eb158918edcba141c To: <sip:88880014 at huawei.com <sip%3A88880014 at huawei.com>> Call-ID: df8ee7b5e1b843f78c191250798d4a9b CSeq: 31877 REGISTER Authorization: Digest username="88880014 at huawei.com", realm="huawei.com", nonce="", uri="sip:huawei.com", response="" User-Agent: PJSUA v1.3/win32 Contact: <sip:88880014 at 192.168.9.111 <sip%3A88880014 at 192.168.9.111>> Expires: 300 Content-Length: 0 --end msg-- 12:24:57.343 tsx00E95B7C Retransmit timer event 12:24:57.343 tsx00E95B7C Retransmiting Request msg REGISTER/cseq=31877 (tdta00E94AE8), count=0, restart?=1 12:24:57.343 pjsua_core.c TX 533 bytes Request msg REGISTER/cseq=31877 (tdta00E94AE8) to UDP 119.145.14.118:5060: REGISTER sip:huawei.com SIP/2.0 Via: SIP/2.0/UDP 192.168.9.111:5060 ;rport;branch=z9hG4bKPj8018b068a8f7439eb3765399cc765d3e Max-Forwards: 70 From: <sip:88880014@xxxxxxxxxx <sip%3A88880014 at huawei.com> >;tag=a44b5852cd304d3eb158918edcba141c To: <sip:88880014 at huawei.com <sip%3A88880014 at huawei.com>> Call-ID: df8ee7b5e1b843f78c191250798d4a9b CSeq: 31877 REGISTER Authorization: Digest username="88880014 at huawei.com", realm="huawei.com", nonce="", uri="sip:huawei.com", response="" User-Agent: PJSUA v1.3/win32 Contact: <sip:88880014 at 192.168.9.111 <sip%3A88880014 at 192.168.9.111>> Expires: 300 Content-Length: 0 --end msg-- 12:24:58.343 tsx00E95B7C Retransmit timer event 12:24:58.343 tsx00E95B7C Retransmiting Request msg REGISTER/cseq=31877 (tdta00E94AE8), count=1, restart?=1 12:24:58.343 pjsua_core.c TX 533 bytes Request msg REGISTER/cseq=31877 (tdta00E94AE8) to UDP 119.145.14.118:5060: REGISTER sip:huawei.com SIP/2.0 Via: SIP/2.0/UDP 192.168.9.111:5060 ;rport;branch=z9hG4bKPj8018b068a8f7439eb3765399cc765d3e Max-Forwards: 70 From: <sip:88880014@xxxxxxxxxx <sip%3A88880014 at huawei.com> >;tag=a44b5852cd304d3eb158918edcba141c To: <sip:88880014 at huawei.com <sip%3A88880014 at huawei.com>> Call-ID: df8ee7b5e1b843f78c191250798d4a9b CSeq: 31877 REGISTER Authorization: Digest username="88880014 at huawei.com", realm="huawei.com", nonce="", uri="sip:huawei.com", response="" User-Agent: PJSUA v1.3/win32 Contact: <sip:88880014 at 192.168.9.111 <sip%3A88880014 at 192.168.9.111>> Expires: 300 Content-Length: 0 --end msg-- 12:25:00.343 tsx00E95B7C Retransmit timer event 12:25:00.343 tsx00E95B7C Retransmiting Request msg REGISTER/cseq=31877 (tdta00E94AE8), count=2, restart?=1 12:25:00.343 pjsua_core.c TX 533 bytes Request msg REGISTER/cseq=31877 (tdta00E94AE8) to UDP 119.145.14.118:5060: REGISTER sip:huawei.com SIP/2.0 Via: SIP/2.0/UDP 192.168.9.111:5060 ;rport;branch=z9hG4bKPj8018b068a8f7439eb3765399cc765d3e Max-Forwards: 70 From: <sip:88880014@xxxxxxxxxx <sip%3A88880014 at huawei.com> >;tag=a44b5852cd304d3eb158918edcba141c To: <sip:88880014 at huawei.com <sip%3A88880014 at huawei.com>> Call-ID: df8ee7b5e1b843f78c191250798d4a9b CSeq: 31877 REGISTER Authorization: Digest username="88880014 at huawei.com", realm="huawei.com", nonce="", uri="sip:huawei.com", response="" User-Agent: PJSUA v1.3/win32 Contact: <sip:88880014 at 192.168.9.111 <sip%3A88880014 at 192.168.9.111>> Expires: 300 Content-Length: 0 --end msg-- 12:25:04.343 tsx00E95B7C Retransmit timer event 12:25:04.343 tsx00E95B7C Retransmiting Request msg REGISTER/cseq=31877 (tdta00E94AE8), count=3, restart?=1 12:25:04.343 pjsua_core.c TX 533 bytes Request msg REGISTER/cseq=31877 (tdta00E94AE8) to UDP 119.145.14.118:5060: REGISTER sip:huawei.com SIP/2.0 Via: SIP/2.0/UDP 192.168.9.111:5060 ;rport;branch=z9hG4bKPj8018b068a8f7439eb3765399cc765d3e Max-Forwards: 70 From: <sip:88880014@xxxxxxxxxx <sip%3A88880014 at huawei.com> >;tag=a44b5852cd304d3eb158918edcba141c To: <sip:88880014 at huawei.com <sip%3A88880014 at huawei.com>> Call-ID: df8ee7b5e1b843f78c191250798d4a9b CSeq: 31877 REGISTER Authorization: Digest username="88880014 at huawei.com", realm="huawei.com", nonce="", uri="sip:huawei.com", response="" User-Agent: PJSUA v1.3/win32 Contact: <sip:88880014 at 192.168.9.111 <sip%3A88880014 at 192.168.9.111>> Expires: 300 Content-Length: 0 --end msg-- 12:25:08.343 tsx00E95B7C Retransmit timer event 12:25:08.343 tsx00E95B7C Retransmiting Request msg REGISTER/cseq=31877 (tdta00E94AE8), count=4, restart?=1 12:25:08.343 pjsua_core.c TX 533 bytes Request msg REGISTER/cseq=31877 (tdta00E94AE8) to UDP 119.145.14.118:5060: REGISTER sip:huawei.com SIP/2.0 Via: SIP/2.0/UDP 192.168.9.111:5060 ;rport;branch=z9hG4bKPj8018b068a8f7439eb3765399cc765d3e Max-Forwards: 70 From: <sip:88880014@xxxxxxxxxx <sip%3A88880014 at huawei.com> >;tag=a44b5852cd304d3eb158918edcba141c To: <sip:88880014 at huawei.com <sip%3A88880014 at huawei.com>> Call-ID: df8ee7b5e1b843f78c191250798d4a9b CSeq: 31877 REGISTER Authorization: Digest username="88880014 at huawei.com", realm="huawei.com", nonce="", uri="sip:huawei.com", response="" User-Agent: PJSUA v1.3/win32 Contact: <sip:88880014 at 192.168.9.111 <sip%3A88880014 at 192.168.9.111>> Expires: 300 Content-Length: 0 --end msg-- 12:25:12.343 tsx00E95B7C Retransmit timer event 12:25:12.343 tsx00E95B7C Retransmiting Request msg REGISTER/cseq=31877 (tdta00E94AE8), count=5, restart?=1 12:25:12.343 pjsua_core.c TX 533 bytes Request msg REGISTER/cseq=31877 (tdta00E94AE8) to UDP 119.145.14.118:5060: REGISTER sip:huawei.com SIP/2.0 Via: SIP/2.0/UDP 192.168.9.111:5060 ;rport;branch=z9hG4bKPj8018b068a8f7439eb3765399cc765d3e Max-Forwards: 70 From: <sip:88880014@xxxxxxxxxx <sip%3A88880014 at huawei.com> >;tag=a44b5852cd304d3eb158918edcba141c To: <sip:88880014 at huawei.com <sip%3A88880014 at huawei.com>> Call-ID: df8ee7b5e1b843f78c191250798d4a9b CSeq: 31877 REGISTER Authorization: Digest username="88880014 at huawei.com", realm="huawei.com", nonce="", uri="sip:huawei.com", response="" User-Agent: PJSUA v1.3/win32 Contact: <sip:88880014 at 192.168.9.111 <sip%3A88880014 at 192.168.9.111>> Expires: 300 Content-Length: 0 --end msg-- 12:25:16.343 tsx00E95B7C Retransmit timer event 12:25:16.343 tsx00E95B7C Retransmiting Request msg REGISTER/cseq=31877 (tdta00E94AE8), count=6, restart?=1 12:25:16.343 pjsua_core.c TX 533 bytes Request msg REGISTER/cseq=31877 (tdta00E94AE8) to UDP 119.145.14.118:5060: REGISTER sip:huawei.com SIP/2.0 Via: SIP/2.0/UDP 192.168.9.111:5060 ;rport;branch=z9hG4bKPj8018b068a8f7439eb3765399cc765d3e Max-Forwards: 70 From: <sip:88880014@xxxxxxxxxx <sip%3A88880014 at huawei.com> >;tag=a44b5852cd304d3eb158918edcba141c To: <sip:88880014 at huawei.com <sip%3A88880014 at huawei.com>> Call-ID: df8ee7b5e1b843f78c191250798d4a9b CSeq: 31877 REGISTER Authorization: Digest username="88880014 at huawei.com", realm="huawei.com", nonce="", uri="sip:huawei.com", response="" User-Agent: PJSUA v1.3/win32 Contact: <sip:88880014 at 192.168.9.111 <sip%3A88880014 at 192.168.9.111>> Expires: 300 Content-Length: 0 --end msg-- 12:25:20.343 tsx00E95B7C Retransmit timer event 12:25:20.343 tsx00E95B7C Retransmiting Request msg REGISTER/cseq=31877 (tdta00E94AE8), count=7, restart?=1 12:25:20.343 pjsua_core.c TX 533 bytes Request msg REGISTER/cseq=31877 (tdta00E94AE8) to UDP 119.145.14.118:5060: REGISTER sip:huawei.com SIP/2.0 Via: SIP/2.0/UDP 192.168.9.111:5060 ;rport;branch=z9hG4bKPj8018b068a8f7439eb3765399cc765d3e Max-Forwards: 70 From: <sip:88880014@xxxxxxxxxx <sip%3A88880014 at huawei.com> >;tag=a44b5852cd304d3eb158918edcba141c To: <sip:88880014 at huawei.com <sip%3A88880014 at huawei.com>> Call-ID: df8ee7b5e1b843f78c191250798d4a9b CSeq: 31877 REGISTER Authorization: Digest username="88880014 at huawei.com", realm="huawei.com", nonce="", uri="sip:huawei.com", response="" User-Agent: PJSUA v1.3/win32 Contact: <sip:88880014 at 192.168.9.111 <sip%3A88880014 at 192.168.9.111>> Expires: 300 Content-Length: 0 --end msg-- 12:25:24.343 tsx00E95B7C Retransmit timer event 12:25:24.343 tsx00E95B7C Retransmiting Request msg REGISTER/cseq=31877 (tdta00E94AE8), count=8, restart?=1 12:25:24.343 pjsua_core.c TX 533 bytes Request msg REGISTER/cseq=31877 (tdta00E94AE8) to UDP 119.145.14.118:5060: REGISTER sip:huawei.com SIP/2.0 Via: SIP/2.0/UDP 192.168.9.111:5060 ;rport;branch=z9hG4bKPj8018b068a8f7439eb3765399cc765d3e Max-Forwards: 70 From: <sip:88880014@xxxxxxxxxx <sip%3A88880014 at huawei.com> >;tag=a44b5852cd304d3eb158918edcba141c To: <sip:88880014 at huawei.com <sip%3A88880014 at huawei.com>> Call-ID: df8ee7b5e1b843f78c191250798d4a9b CSeq: 31877 REGISTER Authorization: Digest username="88880014 at huawei.com", realm="huawei.com", nonce="", uri="sip:huawei.com", response="" User-Agent: PJSUA v1.3/win32 Contact: <sip:88880014 at 192.168.9.111 <sip%3A88880014 at 192.168.9.111>> Expires: 300 Content-Length: 0 --end msg-- 12:25:28.343 tsx00E95B7C Retransmit timer event 12:25:28.343 tsx00E95B7C Retransmiting Request msg REGISTER/cseq=31877 (tdta00E94AE8), count=9, restart?=1 12:25:28.343 pjsua_core.c TX 533 bytes Request msg REGISTER/cseq=31877 (tdta00E94AE8) to UDP 119.145.14.118:5060: REGISTER sip:huawei.com SIP/2.0 Via: SIP/2.0/UDP 192.168.9.111:5060 ;rport;branch=z9hG4bKPj8018b068a8f7439eb3765399cc765d3e Max-Forwards: 70 From: <sip:88880014@xxxxxxxxxx <sip%3A88880014 at huawei.com> >;tag=a44b5852cd304d3eb158918edcba141c To: <sip:88880014 at huawei.com <sip%3A88880014 at huawei.com>> Call-ID: df8ee7b5e1b843f78c191250798d4a9b CSeq: 31877 REGISTER Authorization: Digest username="88880014 at huawei.com", realm="huawei.com", nonce="", uri="sip:huawei.com", response="" User-Agent: PJSUA v1.3/win32 Contact: <sip:88880014 at 192.168.9.111 <sip%3A88880014 at 192.168.9.111>> Expires: 300 Content-Length: 0 --end msg-- 12:25:28.703 tsx00E95B7C Timeout timer event 12:25:28.703 tsx00E95B7C State changed from Calling to Terminated, event=TIMER 12:25:28.703 pjsua_acc.c SIP registration failed, status=408 (Request Timeout) 12:25:28.703 tsx00E95B7C Timeout timer event 12:25:28.703 tsx00E95B7C State changed from Terminated to Destroyed, event=TIMER 12:25:28.703 tdta00E94AE8 Destroying txdata Request msg REGISTER/cseq=31877 (tdta00E94AE8) 12:25:28.703 tsx00E95B7C Transaction destroyed! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Thanks a lot! -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20091028/ba4a7f1d/attachment-0001.html>