I'm looking to migrate to Freeswitch from Asterisk (SOHO usage).
One thing I have configured at the moment which I'm unsure how to do in
FreeSwitch is the following.

When the call's dial pattern is recognised I've been getting Asterisk
to say: "Dialing <destination> via <gateway>" where <destination> might
be a country, or area and <gateway> may be the name of one of several
SIP gateways I have configured.  Each phrase has been a prerecorded wav
file played in sequence.

[macro-XXXXX]
exten => s,1,Playback(/etc/asterisk/wav/dialing)
exten => s,2,Playback(/etc/asterisk/wav/${ARG2})    # Name of destination
exten => s,3,Playback(/etc/asterisk/wav/via)
exten => s,4,Playback(/etc/asterisk/wav/XXXXX)      # Gateway name
exten => s,5,Dial(SIP/XXXXX/${ARG1},60,tT)          # ARG1 = Destination number


# actual usage
exten => _0044.,1,Macro(XXXXX,${EXTEN},touk)

How would I approach doing something like this in FreeSwtich?

Thanks for any pointers.

Simon

_______________________________________________
FreeSWITCH-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to