[asterisk-users] Showing "name of extension" when calling

Danny Nicholas danny at debsinc.com
Wed Dec 23 08:19:43 CST 2009


This is sort of counter-intuitive, but would accomplish the OP’s goal;  when
calling an extension, instead of answering, have the other line call you
back;  this would take 1-5 seconds to accomplish.

-          exten => 100,1,noop(call joe)

-          exten => 100,n,agi(callback.agi|${callerid(num)})

-          exten => 100,n,hangup

 

callback.agi could be c, perl, php or even a shell command that takes the
callerid passed and calls from joe to it.

 

  _____  

From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Alec Davis
Sent: Wednesday, December 23, 2009 2:23 AM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] Showing "name of extension" when calling

 

You may be able to use the SendText application, Conceptually and from
memory

 

exten => 971, 1, Answer()
exten => 971, n, SendText(Magnus <971>)

exten => 971, n, Dial(SIP/971)

exten => 971, n, ....

 

exten => 975, 1, Answer()
exten => 975, n, SendText(Stefan <975>)

exten => 975, n, Dial(SIP/975)

exten => 975, n, ....

 

Alec

 

  _____  

From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Magnus
Benngård
Sent: Wednesday, 23 December 2009 3:06 a.m.
To: asterisk-users at lists.digium.com
Subject: [asterisk-users] Showing "name of extension" when calling

Hi!

Is it possible, when placing a call that u see the name of the extension
in your diplay?

For example, 2 sip.conf entries:
[971]
callerid="Stefan"<971>
[975]
callerid="Magnus"<975>

975 calls 971 today 975 sees 971 in the display but would like to se:
"Stefan <975>" or just "Stefan" or...

/Magnus

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


More information about the asterisk-users mailing list