Arpit Mehta
2007-Oct-04 20:10 UTC
[asterisk-users] Setting caller id value on outgoing calls using .call files
Hi all, I was looking at a way to add the caller id to the outgoing calls (which are made using .call files) using asterisk. Any ideas how to do this ? Currently I get 'Unknown' number displayed on my phone when asterisk makes an outgoing call. Also using something like this is not working as it still displays unknown number. I want set the callerid on the 1.call which is made. exten => _.,4,Set(CALLERID(all)=Joe <911>) exten => _.,5,system(cp /var/spool/asterisk/1.call /var/spool/asterisk/outgoing/) Any suggestions how to do that. Thanks a lot. Regards -- Arpit Mehta Graduate Student Department of Computer Science Columbia University Tel: 1-646-387-5998 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20071004/5289593a/attachment.htm
Arpit Mehta
2007-Oct-04 20:16 UTC
[asterisk-users] Setting caller id value on outgoing calls using .call files
Thanks guys. No need to reply. I got my answer from someone. On 10/4/07, Arpit Mehta <am2866 at columbia.edu> wrote:> > Hi all, > > I was looking at a way to add the caller id to the outgoing calls (which > are made using .call files) using asterisk. Any ideas how to do this ? > Currently I get 'Unknown' number displayed on my phone when asterisk makes > an outgoing call. > > Also using something like this is not working as it still displays unknown > number. I want set the callerid on the 1.call which is made. > > exten => _.,4,Set(CALLERID(all)=Joe <911>) > exten => _.,5,system(cp /var/spool/asterisk/1.call > /var/spool/asterisk/outgoing/) > > Any suggestions how to do that. > > Thanks a lot. > > Regards > > -- > Arpit Mehta > Graduate Student > Department of Computer Science > Columbia University > > Tel: 1-646-387-5998 >-- Arpit Mehta Graduate Student Department of Computer Science Columbia University Tel: 1-646-387-5998 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20071004/60406a00/attachment.htm
James FitzGibbon
2007-Oct-04 20:32 UTC
[asterisk-users] Setting caller id value on outgoing calls using .call files
On 10/4/07, Arpit Mehta <am2866 at columbia.edu> wrote: I was looking at a way to add the caller id to the outgoing calls (which are> made using .call files) using asterisk. Any ideas how to do this ? > Currently I get 'Unknown' number displayed on my phone when asterisk makes > an outgoing call. >Add a "CallerID: whatever" line to your callfile. http://www.voip-info.org/tiki-index.php?page=Asterisk+auto-dial+out has a reference of the callfile contents. -- j. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20071004/1013cb1f/attachment.htm
Jared Smith
2007-Oct-04 20:36 UTC
[asterisk-users] Setting caller id value on outgoing calls using .call files
On Thu, 2007-10-04 at 16:10 -0400, Arpit Mehta wrote:> exten => _.,4,Set(CALLERID(all)=Joe <911>) > exten => > _.,5,system(cp /var/spool/asterisk/1.call /var/spool/asterisk/outgoing/) >You need to set the Caller ID in the call file itself. The sample call file (sample.call) in the Asterisk source contains the following line: Callerid: Wakeup Call Service <(555) 555-5555> Hopefully that gets you going in the right direction. -- Jared Smith Community Relations Manager Digium, Inc.
Philipp Kempgen
2007-Oct-04 20:49 UTC
[asterisk-users] Setting caller id value on outgoing calls using .call files
Arpit Mehta wrote:> I was looking at a way to add the caller id to the outgoing calls (which are > made using .call files) using asterisk. Any ideas how to do this ?Add Callerid: Name <123> to the call file. Regards, Philipp Kempgen -- amooma GmbH - Bachstr. 126 - 56566 Neuwied - http://www.amooma.de Let's use IT to solve problems and not to create new ones. Asterisk? -> http://www.das-asterisk-buch.de My pick of the month: rfc 2822 3.6.5 Gesch?ftsf?hrer: Stefan Wintermeyer Handelsregister: Neuwied B 14998
Tzafrir Cohen
2007-Oct-04 23:24 UTC
[asterisk-users] Setting caller id value on outgoing calls using .call files
On Thu, Oct 04, 2007 at 04:10:09PM -0400, Arpit Mehta wrote:> Hi all, > > I was looking at a way to add the caller id to the outgoing calls (which are > made using .call files) using asterisk. Any ideas how to do this ? > Currently I get 'Unknown' number displayed on my phone when asterisk makes > an outgoing call. > > Also using something like this is not working as it still displays unknown > number. I want set the callerid on the 1.call which is made. > > exten => _.,4,Set(CALLERID(all)=Joe <911>) > exten => _.,5,system(cp /var/spool/asterisk/1.call /var/spool/asterisk/outgoing/) >Two things: 1. You use a copying. Which means: - Create /var/spool/asterisk/outgoing/1.call - Start writing content from original to new - close that 1.call If Asterisk catches the call file in the middle of copying, you have a problem. 2. "_." may behave unexpectedly, I guess. -- Tzafrir Cohen icq#16849755 jabber:tzafrir.cohen at xorcom.com +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir