Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Asterisk V10, SIP MESSAGE fails for unknown reason, missing DNS-lookup?


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
jsa at svep.se
Guest





PostPosted: Thu Feb 13, 2014 2:46 am    Post subject: [asterisk-users] Asterisk V10, SIP MESSAGE fails for unknown Reply with quote

Hi,

I’m using SIP MESSAGE to asterisk V10 and it fails to be received.

I’m not super sure of the reason but I’m making this guess:
Due to I’m using non ipaddress in the to field, which contains [url=sip:mobil1.xyz.com]sip:mobil1.xyz.com[/url], Asterisk makes the mistake to try matching this name ”mobil1.testserver.com” in extensions.conf and no extension/peer is found in the sip-message context I’ve configured.

It works when the TO: field contains an numeric ipadress.
Any hints how to be able to make asterisk first look up the ip before trying to match it?

/Johan

LOG

[Feb 12 15:13:59] VERBOSE[25824] chan_sip.c:
<--- SIP read from UDP:83.186.238.111:5060 --->
MESSAGE [url=sip:mobil1.xyz.com]sip:mobil1.xyz.com[/url] SIP/2.0
Via: SIP/2.0/UDP 83.186.238.111:5060;branch=z9hG4bK-3f138a53
To: <[url=sip:mobil1.xyz.com]sip:mobil1.xyz.com[/url]>
From: <[url=sip:83.186.238.111]sip:83.186.238.111[/url]>;tag=7a82b127
Call-ID: 857d4ed8@83.186.238.111 (857d4ed8@83.186.238.111)
CSeq: 245 MESSAGE
Max-Forwards: 70
User-Agent: CareIP 7813409 v1.2.4.0
Content-Type: application/scaip+xml
Content-Length: 138

My message
<------------->
[Feb 12 15:13:59] DEBUG[25824] chan_sip.c: Header 0 [ 49]: MESSAGE [url=sip:mobil1.xyz.com]sip:mobil1.xyz.com[/url] SIP/2.0
[Feb 12 15:13:59] DEBUG[25824] chan_sip.c: Header 1 [ 60]: Via: SIP/2.0/UDP 83.186.238.111:5060;branch=z9hG4bK-3f138a53
[Feb 12 15:13:59] DEBUG[25824] chan_sip.c: Header 2 [ 39]: To: <[url=sip:mobil1.xyz.com]sip:mobil1.xyz.com[/url]>
[Feb 12 15:13:59] DEBUG[25824] chan_sip.c: Header 3 [ 39]: From: <[url=sip:83.186.238.111]sip:83.186.238.111[/url]>;tag=7a82b127
[Feb 12 15:13:59] DEBUG[25824] chan_sip.c: Header 4 [ 32]: Call-ID: 857d4ed8@83.186.238.111 (857d4ed8@83.186.238.111)
[Feb 12 15:13:59] DEBUG[25824] chan_sip.c: Header 5 [ 17]: CSeq: 245 MESSAGE
[Feb 12 15:13:59] DEBUG[25824] chan_sip.c: Header 6 [ 16]: Max-Forwards: 70
[Feb 12 15:13:59] DEBUG[25824] chan_sip.c: Header 7 [ 35]: User-Agent: CareIP 7813409 v1.2.4.0
[Feb 12 15:13:59] DEBUG[25824] chan_sip.c: Header 8 [ 35]: Content-Type: application/scaip+xml
[Feb 12 15:13:59] DEBUG[25824] chan_sip.c: Header 9 [ 19]: Content-Length: 138
[Feb 12 15:13:59] DEBUG[25824] chan_sip.c: Header 10 [ 0]:
[Feb 12 15:13:59] DEBUG[25824] chan_sip.c: Body 0 [138]: My message
[Feb 12 15:13:59] VERBOSE[25824] chan_sip.c: --- (10 headers 1 lines) ---
[Feb 12 15:13:59] DEBUG[25824] chan_sip.c: = Looking for Call ID: 857d4ed8@83.186.238.111 (857d4ed8@83.186.238.111) (Checking From) --From tag 7a82b127 --To-tag
[Feb 12 15:13:59] DEBUG[25824] acl.c: For destination '83.186.238.111', our source address is '172.26.19.13'.
[Feb 12 15:13:59] DEBUG[25824] chan_sip.c: Target address 83.186.238.111:5060 is not local, substituting externaddr
[Feb 12 15:13:59] DEBUG[25824] chan_sip.c: Setting SIP_TRANSPORT_UDP with address 212.105.99.108:5060
[Feb 12 15:13:59] DEBUG[25824] chan_sip.c: Allocating new SIP dialog for 857d4ed8@83.186.238.111 (857d4ed8@83.186.238.111) - MESSAGE (No RTP)
[Feb 12 15:13:59] VERBOSE[25824] chan_sip.c: No matching peer for '83.186.238.111' from '83.186.238.111:5060'
[Feb 12 15:13:59] VERBOSE[25824] chan_sip.c: Looking for s in sipmessage (domain mobil1.xyz.com)
[Feb 12 15:13:59] WARNING[25812] pbx.c: Channel 'Message/ast_msg_queue' sent into invalid extension 'mobil1.xyz.com' in context 'sipmessage', but no invalid handler


Johan Sandgren
Software Engineer
Svep Design Center AB
S:t Lars väg 42A
222 70 Lund, Sweden
Phone +46 46 192 722
E-mail jsa@svep.se (jsa@svep.se)
Website www.svep.se
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services