VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
jan.kubr at gmail.com Guest
|
Posted: Sun Dec 07, 2008 6:43 am Post subject: [Freeswitch-users] Read app ignores custom variable when cal |
|
|
Hi,
I checked out the current trunk (rev 10641) and found out that the
read app ignores the varname parameter, it always puts the result in
the DTMF-Digit variable. I'm calling it via the socket interface:
sendmsg
call-command: execute
execute-app-name: read
execute-app-arg: 1 1 en/us/callie/conference/8000/conf-pin.wav res 10000 #
event-lock:true
In the XML dialplan it works fine:
<action application="read" data="1 1
sounds/en/us/callie/conference/8000/conf-pin.wav res 10000 #"/>
<action application="phrase" data="spell,${res}"/>
I have been using the socket call above successfully in the 1.0.1 release.
Any ideas? Thanks,
Jan Kubr
_______________________________________________
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 |
|
Back to top |
|
|
anthony.minessale at g... Guest
|
Posted: Sun Dec 07, 2008 2:47 pm Post subject: [Freeswitch-users] Read app ignores custom variable when cal |
|
|
That seems unlikely.
You sure about that?
The var param is in the middle of the data which is passed as 1 giant string to the same exact app execution code.
I don't see how it could differentiate
did you try executing the info app right after to see all the vars.
I'm not saying i don't believe you but it seems fishy.
On Sun, Dec 7, 2008 at 5:31 AM, Jan Kubr <jan.kubr@gmail.com (jan.kubr@gmail.com)> wrote:
--
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 |
|
|
jan.kubr at gmail.com Guest
|
Posted: Mon Dec 08, 2008 5:50 am Post subject: [Freeswitch-users] Read app ignores custom variable when cal |
|
|
OK my bad. The variable is set (I can see it in the Freeswitch console
when I use the info app), but they are only not send to me via the
socket interface. I get the "variable_*" variables only in the
beginning (after calling connect), but not in the events. How do I
enable this?
Thanks,
Jan
On Sun, Dec 7, 2008 at 8:44 PM, Anthony Minessale
<anthony.minessale@gmail.com> wrote:
Quote: | That seems unlikely.
You sure about that?
The var param is in the middle of the data which is passed as 1 giant string
to the same exact app execution code.
I don't see how it could differentiate
did you try executing the info app right after to see all the vars.
I'm not saying i don't believe you but it seems fishy.
On Sun, Dec 7, 2008 at 5:31 AM, Jan Kubr <jan.kubr@gmail.com> wrote:
Quote: |
Hi,
I checked out the current trunk (rev 10641) and found out that the
read app ignores the varname parameter, it always puts the result in
the DTMF-Digit variable. I'm calling it via the socket interface:
sendmsg
call-command: execute
execute-app-name: read
execute-app-arg: 1 1 en/us/callie/conference/8000/conf-pin.wav res 10000 #
event-lock:true
In the XML dialplan it works fine:
<action application="read" data="1 1
sounds/en/us/callie/conference/8000/conf-pin.wav res 10000 #"/>
<action application="phrase" data="spell,${res}"/>
I have been using the socket call above successfully in the 1.0.1 release.
Any ideas? Thanks,
Jan Kubr
_______________________________________________
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
|
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org
pstn:213-799-1400
_______________________________________________
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
|
_______________________________________________
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 |
|
Back to top |
|
|
anthony.minessale at g... Guest
|
Posted: Mon Dec 08, 2008 12:20 pm Post subject: [Freeswitch-users] Read app ignores custom variable when cal |
|
|
i added a patch to index the variables on the SWITCH_EVENT_CHANNEL_EXECUTE_COMPLETE
if you want to update
otherwise you can use uuid_getvar to retrieve the variable
On Mon, Dec 8, 2008 at 4:48 AM, Jan Kubr <jan.kubr@gmail.com (jan.kubr@gmail.com)> wrote:
--
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 |
|
|
jan.kubr at gmail.com Guest
|
Posted: Tue Dec 09, 2008 7:07 am Post subject: [Freeswitch-users] Read app ignores custom variable when cal |
|
|
Updated and works great, thanks!
On Mon, Dec 8, 2008 at 6:18 PM, Anthony Minessale
<anthony.minessale@gmail.com> wrote:
Quote: | i added a patch to index the variables on the
SWITCH_EVENT_CHANNEL_EXECUTE_COMPLETE
if you want to update
otherwise you can use uuid_getvar to retrieve the variable
On Mon, Dec 8, 2008 at 4:48 AM, Jan Kubr <jan.kubr@gmail.com> wrote:
Quote: |
OK my bad. The variable is set (I can see it in the Freeswitch console
when I use the info app), but they are only not send to me via the
socket interface. I get the "variable_*" variables only in the
beginning (after calling connect), but not in the events. How do I
enable this?
Thanks,
Jan
On Sun, Dec 7, 2008 at 8:44 PM, Anthony Minessale
<anthony.minessale@gmail.com> wrote:
Quote: | That seems unlikely.
You sure about that?
The var param is in the middle of the data which is passed as 1 giant
string
to the same exact app execution code.
I don't see how it could differentiate
did you try executing the info app right after to see all the vars.
I'm not saying i don't believe you but it seems fishy.
On Sun, Dec 7, 2008 at 5:31 AM, Jan Kubr <jan.kubr@gmail.com> wrote:
Quote: |
Hi,
I checked out the current trunk (rev 10641) and found out that the
read app ignores the varname parameter, it always puts the result in
the DTMF-Digit variable. I'm calling it via the socket interface:
sendmsg
call-command: execute
execute-app-name: read
execute-app-arg: 1 1 en/us/callie/conference/8000/conf-pin.wav res
10000 #
event-lock:true
In the XML dialplan it works fine:
<action application="read" data="1 1
sounds/en/us/callie/conference/8000/conf-pin.wav res 10000 #"/>
<action application="phrase" data="spell,${res}"/>
I have been using the socket call above successfully in the 1.0.1
release.
Any ideas? Thanks,
Jan Kubr
_______________________________________________
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
|
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org
pstn:213-799-1400
_______________________________________________
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
|
_______________________________________________
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
|
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org
pstn:213-799-1400
_______________________________________________
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
|
_______________________________________________
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 |
|
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
|