[Freeswitch-users] Possible problem in adding channel variables to the bridge
Anthony Minessale
anthony.minessale at gmail.com
Thu Sep 25 11:28:36 EDT 2008
I have no idea what you are trying to do here......
Can you explain it in detail?
Please try to look at this from the angle that you are not understanding the
concept of how the software works and not that the software does not work.
With that mentality you will have little chance for success.
perhaps you can just explain what you want to be able to do and we can show
you the correct way to do it.
On Thu, Sep 25, 2008 at 3:39 AM, Jon Bruel <jbr at consiglia.dk> wrote:
> Thanks Anthony. I have been confused because of the semantics:
> execute_on_anwer implies that the code pointed at is re-executed. Anyhow,
> including the application execute_extension in the ONANSWER-code, helps but
> not every time: In 20-30% of all the instances, the variable is passed on to
> the b-leg part of the ONANSWER. In other cases the variable is still
> undefined.
>
> When the b-leg of the ONANSWER runs before the a-leg part, it is undefined,
> and vice versa. The code executed by execute_extension is:
>
> <?xml version="1.0" encoding="utf-8"?>
> <include>
> <context name="onanswer">
> <extension name="Call_Answered">
> <condition field="destination_number" expression="^ONANSWER$">
> </condition>
> <condition field="${leg}" expression="^a$">
> <action application="info"/>
> <!-- We are in the b-leg-->
> <anti-action application="set"
> data="On_Answer_Is_It_Then_Passed=${NEWVARIABLE}"/>
> <anti-action application="info"/>
> </condition>
> </extension>
> </context>
> </include>
>
> Jon
>
> _______________________________________________
> 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/20080925/f8e216e6/attachment.html
More information about the Freeswitch-users
mailing list