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
Hello, escape the semicolons with a backslash! At least in astersik-1.6.X this works fine. I.e. replace in the SIP-Header-command all ; by \; Regards, Roger. Jonas Kellens schrieb:> 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. >-- Roger Schreiter Spindelberg 11 D-74354 Besigheim Tel.: +49 7143 36476
-----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
On 12 Jul 2010, at 14:09, Jonas Kellens wrote:> 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.Am I missing something or is this waht CALLERID(name) and sendrpid is for?.. S
On Mon, 2010-07-12 at 10:48 -0400, unserossi at aol.com wrote:> No, the receiving side shows name and number as it should.> But as calling person I only see the number of the called person> instead of name and number.> So we seem to struggle with the same issue.This is something that is not supported in any current version of Asterisk. However, a large amount of work has gone into connected party ID support which will be included in Asterisk 1.8. I expect the first beta of 1.8 to be available this month. Russell Bryant -- Ok, thanks a lot for clarifying. So I can stop investigating any further with 1.6. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100712/faa2b989/attachment.htm