Re: SIP/prov_name/номер vs SIP/номер@prov_name?
Заодно проверил что звонок
exten = _6[78]XXXXXXXXXX,1,Dial(SIP/mygw,120)
уходит на defaultuser
Т.е. если
defaultuser/authusername = = 160218,
набираемый номер = 1234567890,
адрес SIP сервера куда звоним = ku.da.i.p (ex: 192.168.56.1),
адрес нашего asterisk = na.sh.i.p (ex: 10.10.1.1),
наш callerId name = 2005
то
SIP/device/number:
INVITE sip:1234567890@ku.da.i.p:5060 SIP/2.0
Via: SIP/2.0/UDP na.sh.i.p:5060;branch=z9hG4bK3b98d929;rport
From: "2005" <sip:160218@ku.da.i.p>;tag=as36f6a381
To: <sip:1234567890@ku.da.i.p:5060>
Contact: <sip:160218@na.sh.i.p>
Call-ID: 5e13863a3c49627571245a33514b2a2d@ku.da.i.p
CSeq: 102 INVITE
User-Agent: Asterisk PBX 1.6.2.13
Date: Tue, 26 Oct 2010 12:07:39 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 348
...
SIP/device:
INVITE sip:160218@ku.da.i.p:5060 SIP/2.0
Via: SIP/2.0/UDP na.sh.i.p:5060;branch=z9hG4bK3add954a;rport
From: "2005" <sip:160218@ku.da.i.p>;tag=as7cccbcb4
To: <sip:160218@ku.da.i.p:5060>
Contact: <sip:160218@na.sh.i.p>
Call-ID: 6234968e32f66f5b66763d727dfea9fa@ku.da.i.p
CSeq: 102 INVITE
User-Agent: Asterisk PBX 1.6.2.13
Date: Tue, 26 Oct 2010 12:21:52 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 350
...
|