On 03/14/2011 05:06 PM, Steven Howes wrote:
On 14 Mar 2011, at 15:58, Jonas Kellens wrote:
dialplan :
exten => 67121212,1,NoOp()
exten => 67121212,n,Set(CALLERID(all)="32596666" <32596666>)
exten => 67121212,n,SIPAddHeader(P-Preferred-Identity:
<sip:32596666\;user=phone>)
exten => 67121212,n,SIPAddHeader(Privacy: id)
exten => 67121212,n,Dial(SIP/32596666/67121212)
CLI :
INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 192.168.1.106:5063;branch=z9hG4bK-1b5cdb51
From: "VC" <sip:[email protected]>;tag=cb415736707fb109o2
To: <sip:[email protected]>
Remote-Party-ID: "VC" <sip:[email protected]>;screen=yes;party=calling
Call-ID: [email protected]
CSeq: 101 INVITE
Max-Forwards: 70
Contact: "VC" <sip:[email protected]:5063>
Expires: 240
User-Agent: Linksys/SPA941-5.1.8
Content-Length: 399
Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER
Supported: replaces
Content-Type: application/sdp
That's the invite from the phone, not from Asterisk... no?
S
Indeed !
This is the correct INVITE :
/INVITE sip:67121212@ip_itsp SIP/2.0
Via: SIP/2.0/UDP ip_asterisk:5060;branch=z9hG4bK533e235b;rport
Max-Forwards: 70
From: "32596666" <sip:32596666@ip_asterisk>;tag=as2c4d672e
To: <sip:67121212@ip_itsp>
Contact: <sip:32596666@ip_asterisk>
Call-ID: 60a418e909842287111a1a403498d11b@ip_asterisk
CSeq: 102 INVITE
User-Agent: Asterisk PBX 1.6.2.16.1
Remote-Party-ID: "32596666" <sip:32596666@ip_asterisk>;privacy=off;screen=no
Date: Mon, 14 Mar 2011 16:25:13 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Privacy: id
Content-Type: application/sdp
Content-Length: 266
v=0
o=voip 108024060 108024060 IN IP4 ip_asterisk
s=Asterisk PBX 1.6.2.16.1
c=IN IP4 ip_asterisk
t=0 0
m=audio 11574 RTP/AVP 8 3 101
a=rtpmap:8 PCMA/8000
a=rtpmap:3 GSM/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv/
I notice the presence of the "Privacy: id" SIP header, which is OK !
I also notice the presence of a "Remote-Party-ID" SIPheader... Where
does this come from ?! Not from my dialplan...
Kind regards,
Jonas.
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users