[Freeswitch-users] Route outbound-only calls through XML dialplan?
Anthony Minessale
anthony.minessale at gmail.com
Mon Apr 7 10:36:22 PDT 2008
USAGE <call url> <exten>|&<application_name>(<app_args>) [<dialplan>]
[<context>] [<cid_name>] [<cid_num>] [<timeout_sec>]
in place of &playback(foo) you can put an extension and optionally a
dialplan name and context
and the call will hit the xml dialplan with the extension string as the
destination_number field.
On Mon, Apr 7, 2008 at 12:21 PM, <tuhl at ix.netcom.com> wrote:
> I've been using FS for almost a year now as a call-blaster type of
> device (originating SIP calls and playing wav/mp3 when user answers).
> In the past I was simply sending all calls to a single SIP switch,
> but now I need to think about routing to several different SIP
> switches, based on NPA-NXX for example.
>
> The XML dialplan would seem perfect for this, but that's only
> triggered by an incoming call, right? I am not sure how to cause
> 'outbound-only' calls to go through it (since Freeswitch is
> originating the call, it only has 1 leg, if that makes sense).
> Currently I am originating via XML-RPC from a Perl script, using a
> command like 'originate <sip address> &playback(wav file)'. The final
> caveat is that we not use javascript to originate the call because I
> am still having problems with garbage collection during capacity
> testing (the box is pushing out 20cps, 30-second calls, 600
> simultaneous calls).
>
> Thanks,
> Tom
>
>
> ===============
> tuhl at ix.netcom.com
>
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080407/6bf13140/attachment-0002.html
More information about the FreeSWITCH-users
mailing list