[asterisk-users] Remote party ID - sort of working...

Mike list at net-wall.com
Wed Jul 18 11:08:26 CDT 2012


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

 

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120718/f9d4ca46/attachment.htm>


More information about the asterisk-users mailing list