[asterisk-users] How to add Callee's name into Dial command ?

satish patel satish at linuxbug.org
Fri Oct 3 11:01:36 CDT 2008


 



2008/10/3 Joe Pukepail <pukepail at gmail.com>


I think this is what you want: http://bugs.digium.com/view.php?id=8824


Thanks : this one very interesting.

Bottom line is it doesn't work at the moment right ?


 <http://bugs.digium.com/view.php?id=8824> 


On Fri, Oct 3, 2008 at 4:21 AM, Olivier <oza-4h07 at myamail.com> wrote:


Hi,

When dialing a number, I use :
exten => _123X, 1, Dial (SIP/${EXTEN})

Then, I get TRYING and RINGING SIP messages which both include this kind of
line :
To: <sip 1234 at 192.168.1.1;user=phone>

Is it possible, configuring Asterisk 1.4, to get something like this instead
?
To: "John Doe" <sip 1234 at 192.168.1.1;user=phone>

This way, I'm hoping to display callee's name beside (or instead of)
callee's number which would offer a double check for caller which might be
confusing extensions, for instance.


I tried this :
exten => _123X, 1, SIPAddHeader(To: Doe \<sip
1234 at 192.168.1.1\;user=phone\>)

but I still got :
To: <sip 1234 at 192.168.1.1;user=phone>

Regards


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

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

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




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

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

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



 why you people need this thing in dial command which can possible with
sip.conf callerid options 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20081003/85aab43d/attachment.htm 


More information about the asterisk-users mailing list