10 Feb
2011
10 Feb
'11
8:15 p.m.
Hello Guys, The was I use bridgeis like the following from a lua script: session:execute("bridge","{sip_auth_username=1234,sip_auth_password=1234}sofia/external/5551234566@1.2.3.4:5060") This is because i don't want tothe xml files, i want to do it programmatically. Lets say i have 3 different gateways i want to use in a round-robin basis. Normally, i would need to DEFINE 3 gateways in the xml profiles, then define mod_distributor by creating a "list" and then use it like: session:execute("bridge","sofia/external/${destination_number}@${distributor(distributor_list)}") but i would like to define the "distributor_list" when creating the bridge, is this possible? Thanks all David