Is it possible to show CallerID names for dialplan applications? When I call from phone-to-phone, it shows the CallerID from sip.conf or iax.conf, but I don't know of any way to show CallerID Name when I call the extension for an application (voicemail for example): exten => 1000,1,Answer exten => 1000,n,VoicemailMain I'd like the display to read "VOICE MAIL" when I dial extension 1000. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050912/e1eee4b9/attachment.htm
Will SetCallerID do it? -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Andy Vega Sent: Monday, September 12, 2005 4:33 PM To: Asterisk-Users@lists.digium.com Subject: [Asterisk-Users] CallerID Name in dialplan Is it possible to show CallerID names for dialplan applications? When I call from phone-to-phone, it shows the CallerID from sip.conf or iax.conf, but I don't know of any way to show CallerID Name when I call the extension for an application (voicemail for example): exten => 1000,1,Answer exten => 1000,n,VoicemailMain I'd like the display to read "VOICE MAIL" when I dial extension 1000. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050912/cbd2546b/attachment.htm
I have had good luck with this: exten => 1000,1,SetCallerID(YourMessageHere) works fine on my phones (Snoms) but the problem there is that SetCallerID only works from the perspective of the callee. A hack might be to make a .call file that the user instantiates from a web page that calls the extension and then bridges the contexta to voicemail, then SetCallerID would work (or caller ID in the .call file itself) Otherwise, something like that would have to be provided by the phone itself or pushed out-of-band to the phone (Ciscos can do this, can't they?) -----Original Message----- From: Andy Vega [mailto:openpbx@gmail.com] Sent: Monday, September 12, 2005 2:33 PM To: Asterisk-Users@lists.digium.com Subject: [Asterisk-Users] CallerID Name in dialplan Is it possible to show CallerID names for dialplan applications? When I call from phone-to-phone, it shows the CallerID from sip.conf or iax.conf, but I don't know of any way to show CallerID Name when I call the extension for an application (voicemail for example): exten => 1000,1,Answer exten => 1000,n,VoicemailMain I'd like the display to read "VOICE MAIL" when I dial extension 1000.
Set(CALLERID(name)=VOICE MAIL) Andy Vega wrote:> Is it possible to show CallerID names for dialplan applications? When > I call from phone-to-phone, it shows the CallerID from sip.conf or > iax.conf, but I don't know of any way to show CallerID Name when I > call the extension for an application (voicemail for example): > > exten => 1000,1,Answer > exten => 1000,n,VoicemailMain > > I'd like the display to read "VOICE MAIL" when I dial extension 1000. > >------------------------------------------------------------------------ > >_______________________________________________ >--Bandwidth and Colocation sponsored by Easynews.com -- > >Asterisk-Users mailing list >Asterisk-Users@lists.digium.com >http://lists.digium.com/mailman/listinfo/asterisk-users >To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
If what you are asking is that the phone you are calling from displays 'Voice Mail' when ext 1000 is dialed then that is a function of the phone NOT of asterisk. Setting callerID would ONLY be displayed on a phone that is ringing!!! On the Cisco IP phones I set the messages_url to 'voicemail' and in the extensions.conf file I add: Exten => voicemail,1,Goto({whatever my VM extension is}} Hope this helps,, What phone are you using??? Alex> -----Original Message----- > From: asterisk-users-bounces@lists.digium.com > [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of > MF Hulber > Sent: Monday, September 12, 2005 6:23 PM > To: openpbx@gmail.com; Asterisk Users Mailing List - > Non-Commercial Discussion > Subject: Re: [Asterisk-Users] CallerID Name in dialplan > > Set(CALLERID(name)=VOICE MAIL) > > Andy Vega wrote: > > > Is it possible to show CallerID names for dialplan > applications? When > > I call from phone-to-phone, it shows the CallerID from sip.conf or > > iax.conf, but I don't know of any way to show CallerID Name when I > > call the extension for an application (voicemail for example): > > > > exten => 1000,1,Answer > > exten => 1000,n,VoicemailMain > > > > I'd like the display to read "VOICE MAIL" when I dial > extension 1000. > > > >------------------------------------------------------------- > ---------- > >- > > > >_______________________________________________ > >--Bandwidth and Colocation sponsored by Easynews.com -- > > > >Asterisk-Users mailing list > >Asterisk-Users@lists.digium.com > >http://lists.digium.com/mailman/listinfo/asterisk-users > >To UNSUBSCRIBE or update options visit: > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > _______________________________________________ > --Bandwidth and Colocation sponsored by Easynews.com -- > > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > >