[asterisk-users] Remote-Party-ID party=called

Jonas Kellens jonas.kellens at telenet.be
Mon Jul 12 08:09:13 CDT 2010


Hello list,

using Asterisk 1.4.30.

I want to set the SIP-header Remote-Party-ID to display the name of the 
calling party on my phone in stead of the number.

This is the dialplan :

exten => 10,1,NoOp()
exten => 10,n,SIPAddHeader(Remote-Party-ID: "eric" 
<sip:10 at 192.168.1.150>;party=called )
exten => 10,n,Dial(SIP/test2)

This is what the CLI shows :

/[Jul 12 14:56:19]     -- Executing [10 at from-TEST:1] 
NoOp("SIP/test6-00000094", "") in new stack
[Jul 12 14:56:19]     -- Executing [10 at from-TEST:2] 
SIPAddHeader("SIP/test6-00000094", "Remote-Party-ID: "eric" 
<sip:10 at 192.168.1.150>") in new stack
[Jul 12 14:56:19]     -- Executing [10 at from-TEST:3] 
Dial("SIP/test6-00000094", "SIP/test2") in new stack/

SIP debug :

/asterisk*CLI> sip set debug peer test6
SIP Debugging Enabled for IP: 192.168.1.104:5063
[Jul 12 15:02:42]
<--- SIP read from 192.168.1.104:5063 --->
INVITE sip:10 at 192.168.1.150 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.104:5063;branch=z9hG4bK-fe158095
From: "test 6" <sip:test6 at 192.168.1.150>;tag=adbbedf0959298ddo3
To: <sip:10 at 192.168.1.150>
*Remote-Party-ID: "test 6" 
<sip:test6 at 192.168.1.150>;screen=yes;party=calling*
Call-ID: fb31bee7-94a6a451 at 192.168.1.104
CSeq: 101 INVITE
Max-Forwards: 70
Contact: "test 6" <sip:test6 at 192.168.1.104:5063>
Expires: 240
User-Agent: Linksys/SPA941-5.1.8
Content-Length: 397
Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER
Supported: replaces
Content-Type: application/sdp/


In all the other SIP-messages there is no trace of the Remote-Party-ID 
header...

Shouldn't there be a /*Remote-Party-ID: "eric" 
<sip:10 at 192.168.1.150>;party=called */somewhere ??


Jonas.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100712/a9d9a6cd/attachment.htm 


More information about the asterisk-users mailing list