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: [email protected]
[mailto:[email protected]] 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: [email protected]
[mailto:[email protected]] On Behalf Of Magnus
Benngård
Sent: Wednesday, 23 December 2009 3:06 a.m.
To: [email protected]
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

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to