Remove the ",i" to start with.  Do you have the various rpid related options in 
sip.conf set?

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Mike
Sent: Wednesday, July 18, 2012 12:08 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: [asterisk-users] Remote party ID - sort of working...

Hi,

 

I'm trying to set my system to set a caller id using the diaplan when calling 
an internal extension. In other words, when I dial Joe Smith's extension I want 
my own phone to show "Joe Smith 555".  I have sort of managed that in the sense 
that my phone shows Joe Smith's caller id based on his sip.conf callerid. But I 
need this to be done programmatically through the dial plan (Let's say I want 
to show "Joe Smith" or just "Joe" based on some condition)

 

I have this in the relevant dialplan snippet:

 

exten => 123,1,Verbose(1,Test)

exten => 123,n,Set(CONNECTEDLINE(number,i)="555-555-5555")

exten => 123,n,Set(rclidname="TestingB <123-444-5555>")

exten => 123,n,Set(CONNECTEDLINE(pres)=allowed)

exten => 123,n,Set(CONNECTEDLINE(name,i)="Testing")

exten => 123,n,Set(CONNECTEDLINE(pres)=allowed)

exten => 123,n,Dial(SIP/joesmithpolycomphone,20)

exten => 123,n,Hangup()

 

I am always seeing remotepolycomphone's callerid number and name as entered in 
sip.conf, not "Testing 555-555-5555", neither am I seeing "TestingB 
<123-444-5555>".

 

What am I missing for it for accept my dialplan remote-id name and  number? 

 

Regards,

 

Mike

 

 

 

 


--
_____________________________________________________________________
-- 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

Reply via email to