[asterisk-users] wrong from URI in options message
Jeremy Kister
asterisk-01 at jeremykister.com
Tue Mar 29 12:52:10 CDT 2011
I recently configured a SIP peer which i must specify my fromuser as my
ten digit "DID". I send calls to this peer, but whenever Asterisk sends
an options message, the fromuser is "asterisk".
Is this a bug? Or is there some other config I must make ?
register = 2155551941:123456 at 10.0.138.226/2155551941~600
[peer](!)
type=peer
context=inbound
qualify=yes
qualifyfreq=300
insecure=port,invite
nat=yes
outgoinglimit=4
incominglimit=4
[mypeer](peer)
host=10.0.138.226
defaultuser=2155551941
fromuser=2155551941
md5secret=023f30a320a5781e8ffd1af9888012af
incominglimit=10
IP (tos 0x0, ttl 64, id 9242, offset 0, flags [none], proto UDP (17),
length 555) 10.0.1.3.5060 > 10.0.138.226.5060: SIP, length: 527
OPTIONS sip:10.0.138.226 SIP/2.0
Via: SIP/2.0/UDP 10.0.83.61:5060;branch=z9hG4bK6abb74e3;rport
Max-Forwards: 70
From: "asterisk" <sip:asterisk at 10.0.83.61>;tag=as7444eb08
To: <sip:10.0.138.226>
Contact: <sip:asterisk at 10.0.83.61:5060>
Call-ID: 20afd7e40fb31362355eae245dae1fd6 at 10.0.83.61:5060
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX 1.8.2.3
Date: Tue, 29 Mar 2011 17:43:05 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE,
NOTIFY, INFO, PUBLISH
Supported: replaces
Content-Length: 0
IP (tos 0xb8, ttl 250, id 0, offset 0, flags [none], proto UDP (17),
length 411) 10.0.138.226.5060 > 10.0.1.3.5060: SIP, length: 383
SIP/2.0 403 From: URI not recognized
Via: SIP/2.0/UDP
10.245.83.61:5060;received=10.0.83.61;branch=z9hG4bK6abb74e3;rport=5060
From: "asterisk" <sip:asterisk at 10.0.83.61>;tag=as7444eb08
To: <sip:10.0.138.226>;tag=metaswitch+1+0+e288612a
Call-ID: 20afd7e40fb31362355eae245dae1fd6 at 10.0.83.61:5060
CSeq: 102 OPTIONS
Server: DC-SIP/2.0
Organization:
Content-Length: 0
--
Jeremy Kister
http://jeremy.kister.net./
More information about the asterisk-users
mailing list