Hi, I am new to Asterisk and am runing asterisk 1.2.9.1 on an OpenBSD box. With a few manuals I was able to set up some SIP providers with which outgoing and incoming calls work. However, there is one provider with which inbound calls don't work at all.
The only apparent error/warning message is this WARNING[13688]: chan_sip.c:3527 process_sdp: Unable to lookup host in c= line, 'IN IP4 213.185.164.123213.185.164.123' Maybe someone knows how to fix this. Many thanks in advance. Here is my sip.conf with the troubling provider ---sip.conf--- [general] disallow=all allow=ulaw allow=alaw allow=ulaw allow=g729 allow=gsm allow=slinear ;qualify=no context=default bindport=5060 bindaddr=0.0.0.0 srvlookup=yes localnet=192.168.0.0/255.255.255.0 ; -------------------------------------------------------------------- ; ; Connection Data for SIP providers ; ; MobileCall register => 43720755555:[EMAIL PROTECTED]/43720755555 ; --- ; SIP out [43720755555] type=peer username=43720755555 fromuser=43720755555 secret=XXXXX host=sip001.mitacs.com fromdomain=sip001.mitacs.com insecure=very nat=yes qualify=yes ; --- ; SIP in [Mitacs_in] type=peer fromdomain=sip001.mitacs.com host=sip001.mitacs.com nat=yes context=ankommend ; -------------------------------------------------------------------- ; ; Connection Data for SIP clients ; [39] callerid=Phone 3 <39> host=dynamic domain=192.168.0.82 user=39 secret=100 type=friend mailbox=39 nat=yes canreinvite=no qualify=yes ---EOF--- Here is my extensions.conf. ---extensions.conf--- [general] static=yes writeprotect=no [lokal] ; local extensions 30-29 exten => _3X,1,NoCDR() exten => _3X,n,Dial,SIP/${EXTEN}|55|Ttr ; SIP Provider [Mitacs_out] exten => _X.,1,SetCallerId,SIPID exten => _X.,2,Dial(SIP/[EMAIL PROTECTED],45,trg) exten => _X.,3,Hangup [default] include => lokal include => Mitacs_out [ankommend] exten => 43720755555,1,Dial,SIP/39|39|r ---EOF--- Finally, I enabled the debug log for the provider in question. It appears to me that incoming calls reach the Asterisk, but then something happens and the call doesn't get forwarded to my SIP-phone (I tried both soft-phones and hardware phones). As I said at the beginning, the only apparent error is the WARNING[27979] chan_sip.c: Unable to lookup host in c= line, 'IN IP4 213.185.164.123213.185.164.123'. I am attaching the log now. ---log--- Feb 9 20:07:06 VERBOSE[27979] logger.c: <-- SIP read from 213.185.164.123:5060: Feb 9 20:07:06 VERBOSE[27979] logger.c: --- (0 headers 0 lines)Feb 9 20:07:06 VERBOSE[27979] logger.c: --- (0 headers 0 lines) Nat keepalive Feb 9 20:07:06 VERBOSE[27979] logger.c: --- (0 headers 0 lines) Nat keepalive --- Feb 9 20:07:08 NOTICE[27979] manager.c: Unable to open management configuration manager.conf. Call management disabled. Feb 9 20:07:08 NOTICE[27979] cdr.c: CDR simple logging enabled. Feb 9 20:07:08 NOTICE[27979] indications.c: Removed default indication country 'us' Feb 9 20:07:08 WARNING[27979] pbx_ael.c: Unable to open '/etc/asterisk/extensions.ael': No such file or directory Feb 9 20:07:08 WARNING[27979] pbx.c: Requested contexts didn't get merged Feb 9 20:07:08 ERROR[27979] pbx_dundi.c: Unable to load config dundi.conf Feb 9 20:07:08 NOTICE[27979] chan_agent.c: No agent configuration found -- agent support disabled Feb 9 20:07:08 ERROR[27979] chan_iax2.c: Unable to load config iax.conf Feb 9 20:07:08 WARNING[27979] chan_iax2.c: Error opening firmware directory '/usr/local/share/asterisk/firmware/iax': No such file or directory Feb 9 20:07:08 NOTICE[27979] iax2-provision.c: No IAX provisioning configuration found, IAX provisioning disabled. Feb 9 20:07:08 NOTICE[27979] chan_skinny.c: Unable to load config skinny.conf, Skinny disabled Feb 9 20:07:08 NOTICE[27979] app_enumlookup.c: No ENUM Config file, using defaults Feb 9 20:07:08 NOTICE[27979] app_queue.c: No call queueing config file (queues.conf), so no call queues Feb 9 20:07:08 WARNING[27979] cdr_custom.c: Failed to reload configuration file. Feb 9 20:07:08 NOTICE[27979] chan_mgcp.c: Unable to load config mgcp.conf, MGCP disabled Feb 9 20:07:09 VERBOSE[27979] logger.c: 12 headers, 0 lines Feb 9 20:07:09 VERBOSE[27979] logger.c: Reliably Transmitting (NAT) to 213.185.164.123:5060: OPTIONS sip:sip001.mitacs.com SIP/2.0 Via: SIP/2.0/UDP 192.168.0.2:5060;branch=z9hG4bK7410f22e;rport From: "asterisk" <sip:[EMAIL PROTECTED]>;tag=as0883770e To: <sip:sip001.mitacs.com> Contact: <sip:[EMAIL PROTECTED]> Call-ID: [EMAIL PROTECTED] CSeq: 102 OPTIONS User-Agent: Asterisk PBX Max-Forwards: 70 Date: Fri, 09 Feb 2007 19:07:09 GMT Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY Content-Length: 0 --- Feb 9 20:07:09 VERBOSE[27979] logger.c: <-- SIP read from 213.185.164.123:5060: SIP/2.0 404 Not Found Via: SIP/2.0/UDP 192.168.0.2:5060;branch=z9hG4bK7410f22e;rport=5060;received=85.125.152.162 From: "asterisk" <sip:[EMAIL PROTECTED]>;tag=as0883770e To: <sip:sip001.mitacs.com>;tag=d4eccf8b83660ff28578f976e0340e46.176c Call-ID: [EMAIL PROTECTED] CSeq: 102 OPTIONS Server: Sip EXpress router (0.9.6 (i386/linux)) Content-Length: 0 Warning: 392 213.185.164.123:5060 "Noisy feedback tells: pid=12189 req_src_ip=85.125.152.162 req_src_port=5060 in_uri=sip:sip001.mitacs.com out_uri=sip:sip001.mitacs.com via_cnt==1" Feb 9 20:07:09 VERBOSE[27979] logger.c: --- (9 headers 0 lines)Feb 9 20:07:09 VERBOSE[27979] logger.c: --- (9 headers 0 lines)--- Feb 9 20:07:09 VERBOSE[27979] logger.c: Destroying call '[EMAIL PROTECTED]' Feb 9 20:07:09 NOTICE[27979] chan_sip.c: -- Re-registration for [EMAIL PROTECTED] Feb 9 20:07:09 VERBOSE[27979] logger.c: REGISTER 12 headers, 0 lines Feb 9 20:07:09 VERBOSE[27979] logger.c: Reliably Transmitting (no NAT) to 213.185.164.123:5060: REGISTER sip:sip001.mitacs.com SIP/2.0 Via: SIP/2.0/UDP 192.168.0.2:5060;branch=z9hG4bK14ef08fe;rport From: <sip:[EMAIL PROTECTED]>;tag=as4eb9b679 To: <sip:[EMAIL PROTECTED]> Call-ID: [EMAIL PROTECTED] CSeq: 102 REGISTER User-Agent: Asterisk PBX Max-Forwards: 70 Expires: 120 Contact: <sip:[EMAIL PROTECTED]> Event: registration Content-Length: 0 --- Feb 9 20:07:09 VERBOSE[27979] logger.c: <-- SIP read from 213.185.164.123:5060: SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP 192.168.0.2:5060;branch=z9hG4bK14ef08fe;rport=5060;received=85.125.152.162 From: <sip:[EMAIL PROTECTED]>;tag=as4eb9b679 To: <sip:[EMAIL PROTECTED]>;tag=d4eccf8b83660ff28578f976e0340e46.69c9 Call-ID: [EMAIL PROTECTED] CSeq: 102 REGISTER WWW-Authenticate: Digest realm="sip001.mitacs.com", nonce="45ccc77592a36df8592d5236be2a0009315fd596" Server: Sip EXpress router (0.9.6 (i386/linux)) Content-Length: 0 Warning: 392 213.185.164.123:5060 "Noisy feedback tells: pid=12190 req_src_ip=85.125.152.162 req_src_port=5060 in_uri=sip:sip001.mitacs.com out_uri=sip:sip001.mitacs.com via_cnt==1" Feb 9 20:07:09 VERBOSE[27979] logger.c: --- (10 headers 0 lines)Feb 9 20:07:09 VERBOSE[27979] logger.c: --- (10 headers 0 lines)--- Feb 9 20:07:09 VERBOSE[27979] logger.c: Responding to challenge, registration to domain/host name sip001.mitacs.com Feb 9 20:07:09 VERBOSE[27979] logger.c: REGISTER 13 headers, 0 lines Feb 9 20:07:09 VERBOSE[27979] logger.c: Reliably Transmitting (no NAT) to 213.185.164.123:5060: REGISTER sip:sip001.mitacs.com SIP/2.0 Via: SIP/2.0/UDP 192.168.0.2:5060;branch=z9hG4bK63f949cb;rport From: <sip:[EMAIL PROTECTED]>;tag=as4b68076c To: <sip:[EMAIL PROTECTED]> Call-ID: [EMAIL PROTECTED] CSeq: 103 REGISTER User-Agent: Asterisk PBX Max-Forwards: 70 Authorization: Digest username="43720755555", realm="sip001.mitacs.com", algorithm=MD5, uri="sip:sip001.mitacs.com", nonce="45ccc77592a36df8592d5236be2a0009315fd596", response="712a286ea565da465b965a71a670323b", opaque="" Expires: 120 Contact: <sip:[EMAIL PROTECTED]> Event: registration Content-Length: 0 --- Feb 9 20:07:09 VERBOSE[27979] logger.c: <-- SIP read from 213.185.164.123:5060: SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.0.2:5060;branch=z9hG4bK63f949cb;rport=5060;received=85.125.152.162 From: <sip:[EMAIL PROTECTED]>;tag=as4b68076c To: <sip:[EMAIL PROTECTED]>;tag=d4eccf8b83660ff28578f976e0340e46.456f Call-ID: [EMAIL PROTECTED] CSeq: 103 REGISTER Contact: <sip:[EMAIL PROTECTED]:5064>;expires=3572, <sip:[EMAIL PROTECTED]:5060>;expires=120;received="sip:85.125.152.162:5060" Server: Sip EXpress router (0.9.6 (i386/linux)) Content-Length: 0 Warning: 392 213.185.164.123:5060 "Noisy feedback tells: pid=12190 req_src_ip=85.125.152.162 req_src_port=5060 in_uri=sip:sip001.mitacs.com out_uri=sip:sip001.mitacs.com via_cnt==1" Feb 9 20:07:09 VERBOSE[27979] logger.c: --- (10 headers 0 lines)Feb 9 20:07:09 VERBOSE[27979] logger.c: --- (10 headers 0 lines)--- Feb 9 20:07:09 VERBOSE[27979] logger.c: Scheduling destruction of call '[EMAIL PROTECTED]' in 32000 ms Feb 9 20:07:09 NOTICE[27979] chan_sip.c: Outbound Registration: Expiry for sip001.mitacs.com is 120 sec (Scheduling reregistration in 105 s) Feb 9 20:07:26 VERBOSE[27979] logger.c: <-- SIP read from 213.185.164.123:5060: INVITE sip:[EMAIL PROTECTED]:5060 SIP/2.0 Record-Route: <sip:213.185.164.123;ftag=as4217aa4d;lr> Via: SIP/2.0/UDP 213.185.164.123;branch=z9hG4bK70a3.0dcf83b3.1 Via: SIP/2.0/UDP 213.185.164.125:5060;branch=z9hG4bK5fcb6276;rport=5060 From: "011112222" <sip:[EMAIL PROTECTED]>;tag=as4217aa4d To: <sip:[EMAIL PROTECTED]> Contact: <sip:[EMAIL PROTECTED]> Call-ID: [EMAIL PROTECTED] CSeq: 102 INVITE User-Agent: Asterisk PBX Max-Forwards: 16 Date: Fri, 09 Feb 2007 19:07:26 GMT Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY Content-Type: application/sdp Content-Length: 554 P-hint: request forced to rtp proxy v=0 o=root 16463 16463 IN IP4 213.185.164.125 s=session c=IN IP4 213.185.164.123213.185.164.123 t=0 0 m=audio 5231252312 RTP/AVP 10 18 97 3 4 0 8 111 5 7 110 101 a=rtpmap:10 L16/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:97 iLBC/8000 a=rtpmap:3 GSFeb 9 20:07:26 VERBOSE[27979] logger.c: --- (16 headers 23 lines)Feb 9 20:07:26 VERBOSE[27979] logger.c: --- (16 headers 23 lines)--- Feb 9 20:07:26 VERBOSE[27979] logger.c: Using INVITE request as basis request - [EMAIL PROTECTED] Feb 9 20:07:26 VERBOSE[27979] logger.c: Sending to 213.185.164.123 : 5060 (non-NAT) Feb 9 20:07:26 VERBOSE[27979] logger.c: Found peer 'Mitacs_in' Feb 9 20:07:26 WARNING[27979] chan_sip.c: Unable to lookup host in c= line, 'IN IP4 213.185.164.123213.185.164.123' Feb 9 20:07:26 VERBOSE[27979] logger.c: Transmitting (NAT) to 213.185.164.123:5060: SIP/2.0 488 Not acceptable here Via: SIP/2.0/UDP 213.185.164.123;branch=z9hG4bK70a3.0dcf83b3.1;received=213.185.164.123 Via: SIP/2.0/UDP 213.185.164.125:5060;branch=z9hG4bK5fcb6276;rport=5060 From: "011112222" <sip:[EMAIL PROTECTED]>;tag=as4217aa4d To: <sip:[EMAIL PROTECTED]>;tag=as0f54a05d Call-ID: [EMAIL PROTECTED] CSeq: 102 INVITE User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY Contact: <sip:[EMAIL PROTECTED]> Content-Length: 0 --- Feb 9 20:07:26 VERBOSE[27979] logger.c: Destroying call '[EMAIL PROTECTED]' Feb 9 20:07:26 VERBOSE[27979] logger.c: <-- SIP read from 213.185.164.123:5060: ACK sip:[EMAIL PROTECTED]:5060 SIP/2.0 Via: SIP/2.0/UDP 213.185.164.123;branch=z9hG4bK70a3.0dcf83b3.1 From: "011112222" <sip:[EMAIL PROTECTED]>;tag=as4217aa4d Call-ID: [EMAIL PROTECTED] To: <sip:[EMAIL PROTECTED]>;tag=as0f54a05d CSeq: 102 ACK User-Agent: Sip EXpress router(0.9.6 (i386/linux)) Content-Length: 0 Feb 9 20:07:26 VERBOSE[27979] logger.c: --- (8 headers 0 lines)Feb 9 20:07:26 VERBOSE[27979] logger.c: --- (8 headers 0 lines)--- Feb 9 20:07:26 VERBOSE[27979] logger.c: Destroying call '[EMAIL PROTECTED]' Feb 9 20:07:27 VERBOSE[27979] logger.c: Destroying call '[EMAIL PROTECTED]' Feb 9 20:07:37 VERBOSE[27979] logger.c: <-- SIP read from 213.185.164.123:5060: Feb 9 20:07:37 VERBOSE[27979] logger.c: --- (0 headers 0 lines)Feb 9 20:07:37 VERBOSE[27979] logger.c: --- (0 headers 0 lines) Nat keepalive Feb 9 20:07:37 VERBOSE[27979] logger.c: --- (0 headers 0 lines) Nat keepalive --- Feb 9 20:07:41 VERBOSE[27979] logger.c: Destroying call '[EMAIL PROTECTED]' ---EOF--- Many thanks for your help! -- Beste Grüße / Best regards , Nikolaus Hiebaum _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users