You need to use brackets [] not braces {} for per-leg variables.

On Thu, Nov 26, 2009 at 6:08 AM, Michael Toop <michaelt@voxcore.voxtelecom.co.za> wrote:
Hi Everyone,

 How do I get the outbound sofia SIP route that the call took into a CDR when using fail over dialing with the 'bridge' application?

 ...I have tried numerous approaches with no luck, this last attempt pasted below did not work either:

dialString = "{provider=providerB}sofia/gateway/sipB/%s|{provider=providerC}sofia/gateway/sipC/%s" % (numberToDial,  numberToDial)
session.execute("bridge",dialString)

 I am using mod_python and this line is in the Python module called in the dialplan.

Thanks!

Michael

_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org




--
-Rupa