VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
adeel.gnome at gmail.com Guest
|
Posted: Thu Sep 25, 2008 12:44 am Post subject: [Freeswitch-users] Can't we run both applications with one d |
|
|
Thanks Anthony. In my case the second one never executes, if written like below
====
<extension name="liverpie_test">
<condition field="destination_number" expression="121">
<action application="socket" data="127.0.0.1:8084" />
<action application="bridge" data="sofia/gateway/${voip}/${recepient}" />
</condition>
</extension>
====
same result, 2nd doesn't execute, if reverse like this
====
<extension name="liverpie_test">
<condition field="destination_number" expression="121">
<action application="bridge" data="sofia/gateway/${voip}/${recepient}" />
<action application="socket" data="127.0.0.1:8084" />
</condition>
</extension>
====
Yes it works sequentially, if written like this.
====
<extension name="bridge_test" continue="true">
<condition field="destination_number" expression="121">
<action application="bridge" data="sofia/gateway/${voip}/${recepient}" />
</condition>
</extension>
<extension name="liverpie_test">
<condition field="destination_number" expression="121">
<action application="socket" data="127.0.0.1:8084" />
</condition>
</extension>
====
but the second got executed after hanging up the call. I want to capture the call events during call. How should I proceed with this.
Thanks.
On Wed, Sep 10, 2008 at 9:09 PM, Anthony Minessale <anthony.minessale@gmail.com (anthony.minessale@gmail.com)> wrote:
Quote: | If the first app hangs up the cal then the 2nd one will never execute.
On Wed, Sep 10, 2008 at 3:55 AM, Adeel Ansari <adeel.gnome@gmail.com (adeel.gnome@gmail.com)> wrote:
Quote: | Only the first application is working in both cases. How to proceed? Any idea.
On Wed, Sep 10, 2008 at 2:19 PM, Adeel Ansari <adeel.gnome@gmail.com (adeel.gnome@gmail.com)> wrote:
Quote: | Hey, actually, none is work with me.
Not this
====
<extension name="liverpie_test" continue="true">
<condition field="destination_number" expression="121">
<action application="socket" data="127.0.0.1:8084" />
<action application="java" data="/home/programs/freeswitch/scripts/freeswitch.jar net.fs.CallTest"/>
</condition>
</extension>
====
Nor this
====
<extension name="liverpie_test" continue="true">
<condition field="destination_number" expression="121">
<action application="socket" data="127.0.0.1:8084" />
</condition>
</extension>
<extension name="java_test">
<condition field="destination_number" expression="121">
<action application="java" data="/home/programs/freeswitch/scripts/freeswitch.jar net.fs.CallTest"/>
</condition>
</extension>
====
Whatever comes first, works. Anyone tell me, how I should go about it. I need to invoke both application on a single call. Thanks.
On Wed, Sep 10, 2008 at 12:34 PM, Adeel Ansari <adeel.gnome@gmail.com (adeel.gnome@gmail.com)> wrote:
Quote: | So, it means we can run it like simultaneously. It was not working with me, actually. Liverpie was not sending anything to my web app, when run the thing in the former way. However, running it in a sequence is fine with me.
Need to ask one more thing. How about if we swap both application configuration in former dialplan. I mean if we put java first and socket later, does it create any difference? Are you getting me?
Thanks.
On Wed, Sep 10, 2008 at 12:04 PM, Brian West <brian@freeswitch.org (brian@freeswitch.org)> wrote:
--
Best,
Adeel Ansari
http://www.linkedin.com/in/adeelansari
|
--
Best,
Adeel Ansari
http://www.linkedin.com/in/adeelansari
|
--
Best,
Adeel Ansari
http://www.linkedin.com/in/adeelansari
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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
|
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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
|
--
Best,
Adeel Ansari
http://www.linkedin.com/in/adeelansari |
|
Back to top |
|
|
anthony.minessale at g... Guest
|
Posted: Thu Sep 25, 2008 9:54 am Post subject: [Freeswitch-users] Can't we run both applications with one d |
|
|
you can't do it like that.
when you call the socket app, use the async flag as an arguement.
Then in your app on the other side of the socket, send the command back to the channel
to do the bridge, then you will get an instant return from that call due to async mode and you can then watch the call for events from there.
On Thu, Sep 25, 2008 at 12:41 AM, Adeel Ansari <adeel.gnome@gmail.com (adeel.gnome@gmail.com)> wrote:
Quote: | Thanks Anthony. In my case the second one never executes, if written like below
====
<extension name="liverpie_test">
<condition field="destination_number" expression="121">
<action application="socket" data="127.0.0.1:8084" />
<action application="bridge" data="sofia/gateway/${voip}/${recepient}" />
</condition>
</extension>
====
same result, 2nd doesn't execute, if reverse like this
====
<extension name="liverpie_test">
<condition field="destination_number" expression="121">
<action application="bridge" data="sofia/gateway/${voip}/${recepient}" />
<action application="socket" data="127.0.0.1:8084" />
</condition>
</extension>
====
Yes it works sequentially, if written like this.
====
<extension name="bridge_test" continue="true">
<condition field="destination_number" expression="121">
<action application="bridge" data="sofia/gateway/${voip}/${recepient}" />
</condition>
</extension>
<extension name="liverpie_test">
<condition field="destination_number" expression="121">
<action application="socket" data="127.0.0.1:8084" />
</condition>
</extension>
====
but the second got executed after hanging up the call. I want to capture the call events during call. How should I proceed with this.
Thanks.
On Wed, Sep 10, 2008 at 9:09 PM, Anthony Minessale <anthony.minessale@gmail.com (anthony.minessale@gmail.com)> wrote:
Quote: | If the first app hangs up the cal then the 2nd one will never execute.
On Wed, Sep 10, 2008 at 3:55 AM, Adeel Ansari <adeel.gnome@gmail.com (adeel.gnome@gmail.com)> wrote:
Quote: | Only the first application is working in both cases. How to proceed? Any idea.
On Wed, Sep 10, 2008 at 2:19 PM, Adeel Ansari <adeel.gnome@gmail.com (adeel.gnome@gmail.com)> wrote:
Quote: | Hey, actually, none is work with me.
Not this
====
<extension name="liverpie_test" continue="true">
<condition field="destination_number" expression="121">
<action application="socket" data="127.0.0.1:8084" />
<action application="java" data="/home/programs/freeswitch/scripts/freeswitch.jar net.fs.CallTest"/>
</condition>
</extension>
====
Nor this
====
<extension name="liverpie_test" continue="true">
<condition field="destination_number" expression="121">
<action application="socket" data="127.0.0.1:8084" />
</condition>
</extension>
<extension name="java_test">
<condition field="destination_number" expression="121">
<action application="java" data="/home/programs/freeswitch/scripts/freeswitch.jar net.fs.CallTest"/>
</condition>
</extension>
====
Whatever comes first, works. Anyone tell me, how I should go about it. I need to invoke both application on a single call. Thanks.
On Wed, Sep 10, 2008 at 12:34 PM, Adeel Ansari <adeel.gnome@gmail.com (adeel.gnome@gmail.com)> wrote:
Quote: | So, it means we can run it like simultaneously. It was not working with me, actually. Liverpie was not sending anything to my web app, when run the thing in the former way. However, running it in a sequence is fine with me.
Need to ask one more thing. How about if we swap both application configuration in former dialplan. I mean if we put java first and socket later, does it create any difference? Are you getting me?
Thanks.
On Wed, Sep 10, 2008 at 12:04 PM, Brian West <brian@freeswitch.org (brian@freeswitch.org)> wrote:
--
Best,
Adeel Ansari
http://www.linkedin.com/in/adeelansari
|
--
Best,
Adeel Ansari
http://www.linkedin.com/in/adeelansari
|
--
Best,
Adeel Ansari
http://www.linkedin.com/in/adeelansari
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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
|
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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
|
--
Best,
Adeel Ansari
http://www.linkedin.com/in/adeelansari
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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
|
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400 |
|
Back to top |
|
|
adeel.gnome at gmail.com Guest
|
Posted: Thu Sep 25, 2008 11:29 pm Post subject: [Freeswitch-users] Can't we run both applications with one d |
|
|
Thanks, its working like charm. Just curious, common events such as CHANNEL_ANSWER, CHANNEL_BRIDGE, CHANNEL_HANGUP etc.. don't work with mod_sofia?
On Thu, Sep 25, 2008 at 10:50 PM, Anthony Minessale <anthony.minessale@gmail.com (anthony.minessale@gmail.com)> wrote:
Quote: | you can't do it like that.
when you call the socket app, use the async flag as an arguement.
Then in your app on the other side of the socket, send the command back to the channel
to do the bridge, then you will get an instant return from that call due to async mode and you can then watch the call for events from there.
On Thu, Sep 25, 2008 at 12:41 AM, Adeel Ansari <adeel.gnome@gmail.com (adeel.gnome@gmail.com)> wrote:
Quote: | Thanks Anthony. In my case the second one never executes, if written like below
====
<extension name="liverpie_test">
<condition field="destination_number" expression="121">
<action application="socket" data="127.0.0.1:8084" />
<action application="bridge" data="sofia/gateway/${voip}/${recepient}" />
</condition>
</extension>
====
same result, 2nd doesn't execute, if reverse like this
====
<extension name="liverpie_test">
<condition field="destination_number" expression="121">
<action application="bridge" data="sofia/gateway/${voip}/${recepient}" />
<action application="socket" data="127.0.0.1:8084" />
</condition>
</extension>
====
Yes it works sequentially, if written like this.
====
<extension name="bridge_test" continue="true">
<condition field="destination_number" expression="121">
<action application="bridge" data="sofia/gateway/${voip}/${recepient}" />
</condition>
</extension>
<extension name="liverpie_test">
<condition field="destination_number" expression="121">
<action application="socket" data="127.0.0.1:8084" />
</condition>
</extension>
====
but the second got executed after hanging up the call. I want to capture the call events during call. How should I proceed with this.
Thanks.
On Wed, Sep 10, 2008 at 9:09 PM, Anthony Minessale <anthony.minessale@gmail.com (anthony.minessale@gmail.com)> wrote:
Quote: | If the first app hangs up the cal then the 2nd one will never execute.
On Wed, Sep 10, 2008 at 3:55 AM, Adeel Ansari <adeel.gnome@gmail.com (adeel.gnome@gmail.com)> wrote:
Quote: | Only the first application is working in both cases. How to proceed? Any idea.
On Wed, Sep 10, 2008 at 2:19 PM, Adeel Ansari <adeel.gnome@gmail.com (adeel.gnome@gmail.com)> wrote:
Quote: | Hey, actually, none is work with me.
Not this
====
<extension name="liverpie_test" continue="true">
<condition field="destination_number" expression="121">
<action application="socket" data="127.0.0.1:8084" />
<action application="java" data="/home/programs/freeswitch/scripts/freeswitch.jar net.fs.CallTest"/>
</condition>
</extension>
====
Nor this
====
<extension name="liverpie_test" continue="true">
<condition field="destination_number" expression="121">
<action application="socket" data="127.0.0.1:8084" />
</condition>
</extension>
<extension name="java_test">
<condition field="destination_number" expression="121">
<action application="java" data="/home/programs/freeswitch/scripts/freeswitch.jar net.fs.CallTest"/>
</condition>
</extension>
====
Whatever comes first, works. Anyone tell me, how I should go about it. I need to invoke both application on a single call. Thanks.
On Wed, Sep 10, 2008 at 12:34 PM, Adeel Ansari <adeel.gnome@gmail.com (adeel.gnome@gmail.com)> wrote:
Quote: | So, it means we can run it like simultaneously. It was not working with me, actually. Liverpie was not sending anything to my web app, when run the thing in the former way. However, running it in a sequence is fine with me.
Need to ask one more thing. How about if we swap both application configuration in former dialplan. I mean if we put java first and socket later, does it create any difference? Are you getting me?
Thanks.
On Wed, Sep 10, 2008 at 12:04 PM, Brian West <brian@freeswitch.org (brian@freeswitch.org)> wrote:
--
Best,
Adeel Ansari
http://www.linkedin.com/in/adeelansari
|
--
Best,
Adeel Ansari
http://www.linkedin.com/in/adeelansari
|
--
Best,
Adeel Ansari
http://www.linkedin.com/in/adeelansari
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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
|
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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
|
--
Best,
Adeel Ansari
http://www.linkedin.com/in/adeelansari
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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
|
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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
|
--
Best,
Adeel Ansari
http://www.linkedin.com/in/adeelansari |
|
Back to top |
|
|
mike at jerris.com Guest
|
Posted: Thu Sep 25, 2008 11:42 pm Post subject: [Freeswitch-users] Can't we run both applications with one d |
|
|
They should all be there. Did you do "myevents" ?
Mike
On Sep 26, 2008, at 12:28 AM, "Adeel Ansari" <adeel.gnome@gmail.com (adeel.gnome@gmail.com)> wrote:
Quote: | Thanks, its working like charm. Just curious, common events such as CHANNEL_ANSWER, CHANNEL_BRIDGE, CHANNEL_HANGUP etc.. don't work with mod_sofia?
On Thu, Sep 25, 2008 at 10:50 PM, Anthony Minessale <[url=mailto:anthony.minessale@gmail.com]anthony.minessale@gmail.com (anthony.minessale@gmail.com)[/url]> wrote:
Quote: | you can't do it like that.
when you call the socket app, use the async flag as an arguement.
Then in your app on the other side of the socket, send the command back to the channel
to do the bridge, then you will get an instant return from that call due to async mode and you can then watch the call for events from there.
On Thu, Sep 25, 2008 at 12:41 AM, Adeel Ansari <[url=mailto:adeel.gnome@gmail.com]adeel.gnome@gmail.com (adeel.gnome@gmail.com)[/url]> wrote:
Quote: | Thanks Anthony. In my case the second one never executes, if written like below
====
<extension name="liverpie_test">
<condition field="destination_number" expression="121">
<action application="socket" data="127.0.0.1:8084" />
<action application="bridge" data="sofia/gateway/${voip}/${recepient}" />
</condition>
</extension>
====
same result, 2nd doesn't execute, if reverse like this
====
<extension name="liverpie_test">
<condition field="destination_number" expression="121">
<action application="bridge" data="sofia/gateway/${voip}/${recepient}" />
<action application="socket" data="127.0.0.1:8084" />
</condition>
</extension>
====
Yes it works sequentially, if written like this.
====
<extension name="bridge_test" continue="true">
<condition field="destination_number" expression="121">
<action application="bridge" data="sofia/gateway/${voip}/${recepient}" />
</condition>
</extension>
<extension name="liverpie_test">
<condition field="destination_number" expression="121">
<action application="socket" data="127.0.0.1:8084" />
</condition>
</extension>
====
but the second got executed after hanging up the call. I want to capture the call events during call. How should I proceed with this.
Thanks.
On Wed, Sep 10, 2008 at 9:09 PM, Anthony Minessale <[url=mailto:anthony.minessale@gmail.com]anthony.minessale@gmail.com (anthony.minessale@gmail.com)[/url]> wrote:
Quote: | If the first app hangs up the cal then the 2nd one will never execute.
On Wed, Sep 10, 2008 at 3:55 AM, Adeel Ansari <[url=mailto:adeel.gnome@gmail.com]adeel.gnome@gmail.com (adeel.gnome@gmail.com)[/url]> wrote:
Quote: | Only the first application is working in both cases. How to proceed? Any idea.
On Wed, Sep 10, 2008 at 2:19 PM, Adeel Ansari <[url=mailto:adeel.gnome@gmail.com]adeel.gnome@gmail.com (adeel.gnome@gmail.com)[/url]> wrote:
Quote: | Hey, actually, none is work with me.
Not this
====
<extension name="liverpie_test" continue="true">
<condition field="destination_number" expression="121">
<action application="socket" data="127.0.0.1:8084" />
<action application="java" data="/home/programs/freeswitch/scripts/freeswitch.jar net.fs.CallTest"/>
</condition>
</extension>
====
Nor this
====
<extension name="liverpie_test" continue="true">
<condition field="destination_number" expression="121">
<action application="socket" data="127.0.0.1:8084" />
</condition>
</extension>
<extension name="java_test">
<condition field="destination_number" expression="121">
<action application="java" data="/home/programs/freeswitch/scripts/freeswitch.jar net.fs.CallTest"/>
</condition>
</extension>
====
Whatever comes first, works. Anyone tell me, how I should go about it. I need to invoke both application on a single call. Thanks.
On Wed, Sep 10, 2008 at 12:34 PM, Adeel Ansari <[url=mailto:adeel.gnome@gmail.com]adeel.gnome@gmail.com (adeel.gnome@gmail.com)[/url]> wrote:
Quote: | So, it means we can run it like simultaneously. It was not working with me, actually. Liverpie was not sending anything to my web app, when run the thing in the former way. However, running it in a sequence is fine with me.
Need to ask one more thing. How about if we swap both application configuration in former dialplan. I mean if we put java first and socket later, does it create any difference? Are you getting me?
Thanks.
On Wed, Sep 10, 2008 at 12:04 PM, Brian West <[url=mailto:brian@freeswitch.org]brian@freeswitch.org (brian@freeswitch.org)[/url]> wrote:
--
Best,
Adeel Ansari
http://www.linkedin.com/in/adeelansari
|
--
Best,
Adeel Ansari
http://www.linkedin.com/in/adeelansari
|
--
Best,
Adeel Ansari
http://www.linkedin.com/in/adeelansari
_______________________________________________
Freeswitch-users mailing list
[url=mailto:Freeswitch-users@lists.freeswitch.org]Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)[/url]
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:[url=mailto:anthony_minessale@hotmail.com]anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])[/url]
GTALK/JABBER/PAYPAL:[url=mailto:anthony.minessale@gmail.com]anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])[/url]
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:[url=mailto:888@conference.freeswitch.org]888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])[/url]
guest@conference.freeswitch.org (guest@conference.freeswitch.org)/888
googletalk:[url=mailto:conf+888@conference.freeswitch.org]conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])[/url]
pstn:213-799-1400
_______________________________________________
Freeswitch-users mailing list
[url=mailto:Freeswitch-users@lists.freeswitch.org]Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)[/url]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
--
Best,
Adeel Ansari
http://www.linkedin.com/in/adeelansari
_______________________________________________
Freeswitch-users mailing list
[url=mailto:Freeswitch-users@lists.freeswitch.org]Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)[/url]
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:[url=mailto:anthony_minessale@hotmail.com]anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])[/url]
GTALK/JABBER/PAYPAL:[url=mailto:anthony.minessale@gmail.com]anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])[/url]
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:[url=mailto:888@conference.freeswitch.org]888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])[/url]
guest@conference.freeswitch.org (guest@conference.freeswitch.org)/888
googletalk:[url=mailto:conf+888@conference.freeswitch.org]conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])[/url]
pstn:213-799-1400
_______________________________________________
Freeswitch-users mailing list
[url=mailto:Freeswitch-users@lists.freeswitch.org]Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)[/url]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
--
Best,
Adeel Ansari
http://www.linkedin.com/in/adeelansari
f="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org
--
Best,
Adeel Ansari
http://www.linkedin.com/in/adeelansari
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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
|
|
|
Back to top |
|
|
adeel.gnome at gmail.com Guest
|
Posted: Thu Sep 25, 2008 11:57 pm Post subject: [Freeswitch-users] Can't we run both applications with one d |
|
|
Acutally, for me only CHANNEL_EXECUTE and CHANNEL_EXECUTE_COMPLETE is working.
And yes, I found this on the FS wiki, "The following modules have CUSTOM events; mod_sofia..etc.". What does it mean by that?
Thanks.
On Fri, Sep 26, 2008 at 12:41 PM, Michael Jerris <mike@jerris.com (mike@jerris.com)> wrote:
Quote: | They should all be there. Did you do "myevents" ?
Mike
On Sep 26, 2008, at 12:28 AM, "Adeel Ansari" <adeel.gnome@gmail.com (adeel.gnome@gmail.com)> wrote:
Quote: |
Thanks, its working like charm. Just curious, common events such as CHANNEL_ANSWER, CHANNEL_BRIDGE, CHANNEL_HANGUP etc.. don't work with mod_sofia?
On Thu, Sep 25, 2008 at 10:50 PM, Anthony Minessale < (anthony.minessale@gmail.com)anthony.minessale@gmail.com (anthony.minessale@gmail.com)> wrote:
Quote: | you can't do it like that.
when you call the socket app, use the async flag as an arguement.
Then in your app on the other side of the socket, send the command back to the channel
to do the bridge, then you will get an instant return from that call due to async mode and you can then watch the call for events from there.
On Thu, Sep 25, 2008 at 12:41 AM, Adeel Ansari < (adeel.gnome@gmail.com)adeel.gnome@gmail.com (adeel.gnome@gmail.com)> wrote:
Quote: | Thanks Anthony. In my case the second one never executes, if written like below
====
<extension name="liverpie_test">
<condition field="destination_number" expression="121">
<action application="socket" data="127.0.0.1:8084" />
<action application="bridge" data="sofia/gateway/${voip}/${recepient}" />
</condition>
</extension>
====
same result, 2nd doesn't execute, if reverse like this
====
<extension name="liverpie_test">
<condition field="destination_number" expression="121">
<action application="bridge" data="sofia/gateway/${voip}/${recepient}" />
<action application="socket" data="127.0.0.1:8084" />
</condition>
</extension>
====
Yes it works sequentially, if written like this.
====
<extension name="bridge_test" continue="true">
<condition field="destination_number" expression="121">
<action application="bridge" data="sofia/gateway/${voip}/${recepient}" />
</condition>
</extension>
<extension name="liverpie_test">
<condition field="destination_number" expression="121">
<action application="socket" data="127.0.0.1:8084" />
</condition>
</extension>
====
but the second got executed after hanging up the call. I want to capture the call events during call. How should I proceed with this.
Thanks.
On Wed, Sep 10, 2008 at 9:09 PM, Anthony Minessale < (anthony.minessale@gmail.com)anthony.minessale@gmail.com (anthony.minessale@gmail.com)> wrote:
Quote: | If the first app hangs up the cal then the 2nd one will never execute.
On Wed, Sep 10, 2008 at 3:55 AM, Adeel Ansari < (adeel.gnome@gmail.com)adeel.gnome@gmail.com (adeel.gnome@gmail.com)> wrote:
Quote: | Only the first application is working in both cases. How to proceed? Any idea.
On Wed, Sep 10, 2008 at 2:19 PM, Adeel Ansari < (adeel.gnome@gmail.com)adeel.gnome@gmail.com (adeel.gnome@gmail.com)> wrote:
Quote: | Hey, actually, none is work with me.
Not this
====
<extension name="liverpie_test" continue="true">
<condition field="destination_number" expression="121">
<action application="socket" data="127.0.0.1:8084" />
<action application="java" data="/home/programs/freeswitch/scripts/freeswitch.jar net.fs.CallTest"/>
</condition>
</extension>
====
Nor this
====
<extension name="liverpie_test" continue="true">
<condition field="destination_number" expression="121">
<action application="socket" data="127.0.0.1:8084" />
</condition>
</extension>
<extension name="java_test">
<condition field="destination_number" expression="121">
<action application="java" data="/home/programs/freeswitch/scripts/freeswitch.jar net.fs.CallTest"/>
</condition>
</extension>
====
Whatever comes first, works. Anyone tell me, how I should go about it. I need to invoke both application on a single call. Thanks.
On Wed, Sep 10, 2008 at 12:34 PM, Adeel Ansari < (adeel.gnome@gmail.com)adeel.gnome@gmail.com (adeel.gnome@gmail.com)> wrote:
Quote: | So, it means we can run it like simultaneously. It was not working with me, actually. Liverpie was not sending anything to my web app, when run the thing in the former way. However, running it in a sequence is fine with me.
Need to ask one more thing. How about if we swap both application configuration in former dialplan. I mean if we put java first and socket later, does it create any difference? Are you getting me?
Thanks.
On Wed, Sep 10, 2008 at 12:04 PM, Brian West < (brian@freeswitch.org)brian@freeswitch.org (brian@freeswitch.org)> wrote:
--
Best,
Adeel Ansari
[/url][url=http://www.linkedin.com/in/adeelansari]http://www.linkedin.com/in/adeelansari
|
--
Best,
Adeel Ansari
[/url][url=http://www.linkedin.com/in/adeelansari]http://www.linkedin.com/in/adeelansari
|
--
Best,
Adeel Ansari
[/url][url=http://www.linkedin.com/in/adeelansari]http://www.linkedin.com/in/adeelansari
_______________________________________________
Freeswitch-users mailing list
(Freeswitch-users@lists.freeswitch.org)Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
[/url][url=http://lists.freeswitch.org/mailman/listinfo/freeswitch-users]http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:[/url][url=http://lists.freeswitch.org/mailman/options/freeswitch-users]http://lists.freeswitch.org/mailman/options/freeswitch-users
[/url][url=http://www.freeswitch.org]http://www.freeswitch.org
|
--
Anthony Minessale II
FreeSWITCH [/url][url=http://www.freeswitch.org/]http://www.freeswitch.org/
ClueCon [/url][url=http://www.cluecon.com/]http://www.cluecon.com/
AIM: anthm
MSN: ([email]MSN%3Aanthony_minessale@hotmail.com[/email])anthony_minessale@hotmail.com (anthony_minessale@hotmail.com)
GTALK/JABBER/PAYPAL: ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])anthony.minessale@gmail.com (anthony.minessale@gmail.com)
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip: ([email]sip%3A888@conference.freeswitch.org[/email])888@conference.freeswitch.org (888@conference.freeswitch.org)
guest@conference.freeswitch.org (guest@conference.freeswitch.org)/888
googletalk: ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])conf+888@conference.freeswitch.org ([email]conf+888@conference.freeswitch.org[/email])
pstn:213-799-1400
_______________________________________________
Freeswitch-users mailing list
(Freeswitch-users@lists.freeswitch.org)Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
[/url][url=http://lists.freeswitch.org/mailman/listinfo/freeswitch-users]http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:[/url][url=http://lists.freeswitch.org/mailman/options/freeswitch-users]http://lists.freeswitch.org/mailman/options/freeswitch-users
[/url][url=http://www.freeswitch.org]http://www.freeswitch.org
|
--
Best,
Adeel Ansari
[/url][url=http://www.linkedin.com/in/adeelansari]http://www.linkedin.com/in/adeelansari
_______________________________________________
Freeswitch-users mailing list
(Freeswitch-users@lists.freeswitch.org)Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
[/url][url=http://lists.freeswitch.org/mailman/listinfo/freeswitch-users]http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:[/url][url=http://lists.freeswitch.org/mailman/options/freeswitch-users]http://lists.freeswitch.org/mailman/options/freeswitch-users
[/url][url=http://www.freeswitch.org]http://www.freeswitch.org
|
--
Anthony Minessale II
FreeSWITCH [/url][url=http://www.freeswitch.org/]http://www.freeswitch.org/
ClueCon [/url][url=http://www.cluecon.com/]http://www.cluecon.com/
AIM: anthm
MSN: ([email]MSN%3Aanthony_minessale@hotmail.com[/email])anthony_minessale@hotmail.com (anthony_minessale@hotmail.com)
GTALK/JABBER/PAYPAL: ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])anthony.minessale@gmail.com (anthony.minessale@gmail.com)
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip: ([email]sip%3A888@conference.freeswitch.org[/email])888@conference.freeswitch.org (888@conference.freeswitch.org)
guest@conference.freeswitch.org (guest@conference.freeswitch.org)/888
googletalk: ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])conf+888@conference.freeswitch.org ([email]conf+888@conference.freeswitch.org[/email])
pstn:213-799-1400
_______________________________________________
Freeswitch-users mailing list
(Freeswitch-users@lists.freeswitch.org)Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
[/url][url=http://lists.freeswitch.org/mailman/listinfo/freeswitch-users]http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:[/url][url=http://lists.freeswitch.org/mailman/options/freeswitch-users]http://lists.freeswitch.org/mailman/options/freeswitch-users
[/url][url=http://www.freeswitch.org]http://www.freeswitch.org
|
--
Best,
Adeel Ansari
[/url][url=http://www.linkedin.com/in/adeelansari]http://www.linkedin.com/in/adeelansari
f="http://www.freeswitch.org" target="_blank">[/url][url=http://www.freeswitch.org]http://www.freeswitch.org
--
Best,
Adeel Ansari
[/url][url=http://www.linkedin.com/in/adeelansari]http://www.linkedin.com/in/adeelansari
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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
|
--
Best,
Adeel Ansari
http://www.linkedin.com/in/adeelansari |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|