I am not sure if you misunderstood my question.<br><br>The XML provided by mod_xml_cdr does not tell which gateway succeeded. When I use a single gateway without failover I know the gateway specified in lastapp was used. When I use failover the last_app string contains all the gateways. I am looking for a value which tells which gateway was used.<br>
<br><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote"><include><br> <context name="external"><br> <extension name="external_outbound"><br>
<condition field="destination_number" expression="(.*)"> <br> <!-- <action application="set" data="proxy_media=true"/> --><br> <action application="set" data="hangup_after_bridge=true"/><br>
<action application="set" data="continue_on_fail=true"/><br> <action application="set" data="originate_timeout=2"/><br> <action application="set" data="originate_retries=1"/><br>
<action application="set" data="progress_timeout=15"/><br> <action application="set" data="call_timeout=35"/><br> <action application="set" data="proxy_media=true"/><br>
<action application="bridge" data="sofia/gateway/provider1/$1|sofia/gateway/provider2/$1|sofia/gateway/provider3/$1" /> <br> </condition> <br> </extension> <br>
</context><br></include><br></blockquote><br><br><br>On 30 April 2010 04:09, Rupa Schomaker <<a href="mailto:rupa@rupa.com">rupa@rupa.com</a>> wrote:<br>> set a var for each leg, this is how I do it in mod_lcr:<br>
> [gateway=foo]sofia/gateway/foo/$1|[gateway=bar]sofia/gateway/bar/$1<br>><br>> On Thu, Apr 29, 2010 at 8:20 PM, Frank Church <<a href="mailto:vfclists@googlemail.com">vfclists@googlemail.com</a>><br>> wrote:<br>
>><br>>> How does Freeswitch CDR determine which gateway was used in failover?<br>>><br>>> I am looking at the xml cdr and cdr_csv and they don't appear to show<br>>> which gateway was used in the bridge data.<br>
>><br>>> Is there a separate uuid for each bridging attempt, that can be<br>>> obtained from the CDR, or the event socket as last resort?<br>>><br>>> --<br>>> Frank Church<br>>><br>
>> =======================<br>>> <a href="http://devblog.brahmancreations.com">http://devblog.brahmancreations.com</a><br>>><br>>> _______________________________________________<br>>> FreeSWITCH-users mailing list<br>
>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>>> <a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
><br>><br>><br>> --<br>> -Rupa<br>><br>> _______________________________________________<br>> FreeSWITCH-users mailing list<br>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>><br>><br><br><br><br>-- <br>Frank Church<br><br>=======================<br><a href="http://devblog.brahmancreations.com">http://devblog.brahmancreations.com</a><br>
<br>