Mystery Glitch
2005-Apr-14 09:52 UTC
[Asterisk-Users] Call Files to Terminate a call to the dialplan not directly to a channel
Can I use the .call files to place a call using the dialplan instead of the channel directly? --- Channel: SIP/19563436274@termprovider Context: testing Extension: playsample Priority: 1 CallerID: Company <8882650946> WaitTime: 15 --- What this does it is calls that number directly via one of our termproviders, and once connected plays a sample sound to them via the extension playsample in the testing context. However the CDR's do not show this call properly, as the call wasn't pushed through the Asterisk dial-plan they don't show the destination phone number. I also can't compensate if termprovider goes down, we have about 6 termination providers and in my dial plan I have them listed in order of priority, if the 1st fails for whatever reason, it rolls over to the next provider. So instead of it initiating a call to a channel, can it do it to an extension? Probably real easy, but I don't know how. --------------------------------- Do you Yahoo!? Yahoo! Small Business - Try our new resources site! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050414/0cc227fa/attachment.htm
Julian J. M.
2005-Apr-15 07:11 UTC
[Asterisk-Users] Call Files to Terminate a call to the dialplan not directly to a channel
You can use (at least in asterisk CVS), this: Channel: Local/1234@from-internal then in extensions.conf [from-internal] exten => 1234,1,Dial(whatever) exten => 1234,2,Dial(otherprov) Not testet though ;) Julian J. M. On 4/14/05, Mystery Glitch <mr_e_glitch@yahoo.com> wrote:> Can I use the .call files to place a call using the dialplan instead of the > channel directly? > > ---Channel: SIP/19563436274@termprovider > Context: testing > Extension: playsample > Priority: 1 > CallerID: Company <8882650946> > WaitTime: 15