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

unserossi at aol.com unserossi at aol.com
Mon Jul 12 08:29:38 CDT 2010







-----Original Message-----
From: Jonas Kellens <jonas.kellens at telenet.be>
To: Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users at lists.digium.com>
Sent: Mon, Jul 12, 2010 3:09 pm
Subject: [asterisk-users] Remote-Party-ID party=called


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.


-- 
i,
I am trying to solve the same issue but can't get it work.
I use Asterisk 1.6.1.20 and use a Siemens Optipoint 410 client which should capable of displaying Remote Party ID but it doesn't.
Does anyone know a Softclient which is able to display Remote Party ID?


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


More information about the asterisk-users mailing list