VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
anthony.minessale at g... Guest
|
Posted: Tue Dec 16, 2008 8:59 am Post subject: [Freeswitch-users] general question about API command |
|
|
There is a transfer dial plan application also.
There is not really any benefit in blocking the api commands from the dialplan
apart from the potential for a blocking api call to delay the audio stream which
you can do at your own risk and use the sleep application with 0ms to flush the read buffers.
So I guess i can lift that limitation in tree.
see r10790
On Tue, Dec 16, 2008 at 7:07 AM, Carole O. <carole.olivier@enst.fr (carole.olivier@enst.fr)> 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 |
|
|
carole.olivier at enst.fr Guest
|
Posted: Tue Dec 16, 2008 9:55 am Post subject: [Freeswitch-users] general question about API command |
|
|
Thanks for this answer.
Just a question so that everything is clear: there is no command to bridge
directly a call and both legs into a conference? We have to transfer the
call to another extension and from there create the conference isn't?
I used the command transfer but I still have a problem. I do the following
and it did not work: in my dialplan I write:
<action application="bind_meta_app" data="1 ab s transfer::3333"/>
The extension 3333 works fine.
However, nothing happens when I press *1.
Do you have an idea where am I wrong?
(A subsidiary question: will both legs be transferred to the extension 3333
or just the one which press *1? is there a way to transfer both together?)
Thanks a lot,
Carole
Anthony Minessale-2 wrote:
Quote: |
There is a transfer dial plan application also.
There is not really any benefit in blocking the api commands from the
dialplan
apart from the potential for a blocking api call to delay the audio stream
which
you can do at your own risk and use the sleep application with 0ms to
flush
the read buffers.
So I guess i can lift that limitation in tree.
see r10790
On Tue, Dec 16, 2008 at 7:07 AM, Carole O. <carole.olivier@enst.fr> wrote:
Quote: |
Hello,
I have a general question about the API commands. Some of them are not
available in the dialplan like uuid_transfer. I was wondering how to call
an
API command without using the CLI. Especially I would be interested in
knowing if there is any way to call them from a phone, I mean bind a key
to
an API command.
For instance I would like to transfer both members of a simple call into
a
conference by dialing *1.
I have seen the transfer is possible from the CLI by doing:
api uuid_transfer <uuid> -both 3001
but I do not know how to do it else.
If somebody could give me an insight about the topic it would be great.
Thanks,
Carole
--
View this message in context:
http://www.nabble.com/general-question-about-API-command-tp21032754p21032754.html
Sent from the Freeswitch-users mailing list archive at Nabble.com.
_______________________________________________
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 <MSN%3Aanthony_minessale@hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com>
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org>
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@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
|
--
View this message in context: http://www.nabble.com/general-question-about-API-command-tp21032754p21033993.html
Sent from the Freeswitch-users mailing list archive at Nabble.com.
_______________________________________________
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: Tue Dec 16, 2008 10:19 am Post subject: [Freeswitch-users] general question about API command |
|
|
it should work with
<action application="bind_meta_app" data="1 ab s transfer::-both 3333"/>
make sure you have debug log on (press f to see if there are any issues.
On Tue, Dec 16, 2008 at 8:43 AM, Carole O. <carole.olivier@enst.fr (carole.olivier@enst.fr)> wrote:
Quote: |
Thanks for this answer.
Just a question so that everything is clear: there is no command to bridge
directly a call and both legs into a conference? We have to transfer the
call to another extension and from there create the conference isn't?
I used the command transfer but I still have a problem. I do the following
and it did not work: in my dialplan I write:
<action application="bind_meta_app" data="1 ab s transfer::3333"/>
The extension 3333 works fine.
However, nothing happens when I press *1.
Do you have an idea where am I wrong?
(A subsidiary question: will both legs be transferred to the extension 3333
or just the one which press *1? is there a way to transfer both together?)
Thanks a lot,
Carole
Anthony Minessale-2 wrote:
Quote: |
There is a transfer dial plan application also.
There is not really any benefit in blocking the api commands from the
dialplan
apart from the potential for a blocking api call to delay the audio stream
which
you can do at your own risk and use the sleep application with 0ms to
flush
the read buffers.
So I guess i can lift that limitation in tree.
see r10790
On Tue, Dec 16, 2008 at 7:07 AM, Carole O. <carole.olivier@enst.fr (carole.olivier@enst.fr)> wrote:
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
|
Quote: | MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email]) <MSN%3Aanthony_minessale@hotmail.com ([email]MSN%253Aanthony_minessale@hotmail.com[/email])>
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])<PAYPAL%3Aanthony.minessale@gmail.com ([email]PAYPAL%253Aanthony.minessale@gmail.com[/email])>
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
|
Quote: | sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email]) <sip%3A888@conference.freeswitch.org ([email]sip%253A888@conference.freeswitch.org[/email])>
iax:guest@conference.freeswitch.org/888
|
--
View this message in context: http://www.nabble.com/general-question-about-API-command-tp21032754p21033993.html
Sent from the Freeswitch-users mailing list archive at Nabble.com.
_______________________________________________
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 |
|
|
carole.olivier at enst.fr Guest
|
Posted: Wed Dec 17, 2008 10:58 am Post subject: [Freeswitch-users] general question about API command |
|
|
ok
Thanks a lot,
Carole
Anthony Minessale-2 wrote:
Quote: |
I said i unblocked the ones in mod_commands
mod_conference was it's own module.
I changed it to work in latest trunk as well.
On Wed, Dec 17, 2008 at 4:15 AM, Carole O. <carole.olivier@enst.fr> wrote:
Quote: |
(I have just read the post again, I have written <action
application="bind_meta_app" data="1 a s conference::conf1 lock"/> but I
meant <action application="bind_meta_app" data="2 a s conference::conf1
lock"/> please don't pay attention for that, I made the mistake when I
have
copied it in the post, not in the configuration.)
Carole O. wrote:
Quote: |
Thanks, this works fine.
But I try to use some other API commands and something goes wrong: I
| would
Quote: | like to be able to use the API commands for the conference like lock,
unlock, say, etc... from the dialplan.
I try to add in my dialplan
<action application="bind_meta_app" data="1 a s conference::conf1
| lock"/>
Quote: | but it did not work, I presse F8 and I have got:
2008-12-17 10:47:58 [DEBUG] switch_ivr_async.c:1425 meta_on_dtmf()
sofia/internal/1002@192.168.1.102:2054;line=n7ovvfr7;fs_nat=yes
| Processing
Quote: | meta digit '2' [conference::conf1 lock]
2008-12-17 10:47:58 [DEBUG] switch_core_session.c:611
switch_core_session_queue_private_event() Kill
sofia/internal/1002@192.168.1.102:2054;line=n7ovvfr7;fs_nat=yes [BREAK]
You told me that the API commands should not be blocked isn't it? So I
| do
Quote: | not understand where I am wrong. Is "bind_meta_app" not supported in
conference?
I have also tried to write directly:
<action application="conference" data="conf1 lock"/>
which also has no effect.
Thanks for your help,
Carole
Anthony Minessale-2 wrote:
Quote: |
it should work with
<action application="bind_meta_app" data="1 ab s transfer::-both
|
| 3333"/>
Quote: | Quote: |
make sure you have debug log on (press f to see if there are any
issues.
On Tue, Dec 16, 2008 at 8:43 AM, Carole O. <carole.olivier@enst.fr>
wrote:
Quote: |
Thanks for this answer.
Just a question so that everything is clear: there is no command to
bridge
directly a call and both legs into a conference? We have to transfer
|
|
| the
Quote: | Quote: | Quote: | call to another extension and from there create the conference isn't?
I used the command transfer but I still have a problem. I do the
following
and it did not work: in my dialplan I write:
<action application="bind_meta_app" data="1 ab s transfer::3333"/>
The extension 3333 works fine.
However, nothing happens when I press *1.
Do you have an idea where am I wrong?
(A subsidiary question: will both legs be transferred to the
|
|
| extension
Quote: | Quote: | Quote: | 3333
or just the one which press *1? is there a way to transfer both
together?)
Thanks a lot,
Carole
Anthony Minessale-2 wrote:
Quote: |
There is a transfer dial plan application also.
There is not really any benefit in blocking the api commands from
|
|
|
| the
Quote: | Quote: | Quote: | Quote: | dialplan
apart from the potential for a blocking api call to delay the audio
| stream
Quote: | which
you can do at your own risk and use the sleep application with 0ms
|
|
|
| to
Quote: | Quote: | Quote: | Quote: | flush
the read buffers.
So I guess i can lift that limitation in tree.
see r10790
On Tue, Dec 16, 2008 at 7:07 AM, Carole O. <carole.olivier@enst.fr>
| wrote:
Quote: |
Quote: |
Hello,
I have a general question about the API commands. Some of them are
|
| not
Quote: | Quote: | available in the dialplan like uuid_transfer. I was wondering how
|
|
|
|
| to
Quote: | Quote: | Quote: | call
Quote: | Quote: | an
API command without using the CLI. Especially I would be
|
|
|
|
| interested
Quote: | Quote: | Quote: | in
Quote: | Quote: | knowing if there is any way to call them from a phone, I mean bind
|
|
|
|
| a
Quote: | Quote: | Quote: | key
Quote: | Quote: | to
an API command.
For instance I would like to transfer both members of a simple
|
|
|
|
| call
Quote: | Quote: | Quote: | into
Quote: | Quote: | a
conference by dialing *1.
I have seen the transfer is possible from the CLI by doing:
api uuid_transfer <uuid> -both 3001
but I do not know how to do it else.
If somebody could give me an insight about the topic it would be
|
| great.
Quote: | Quote: | Thanks,
Carole
--
View this message in context:
|
|
|
|
| http://www.nabble.com/general-question-about-API-command-tp21032754p21032754.html
Quote: | Quote: | Quote: | http://lists.freeswitch.org/mailman/options/freeswitch-users
|
|
| MSN:anthony_minessale@hotmail.com<MSN%3Aanthony_minessale@hotmail.com>
<MSN%3Aanthony_minessale@hotmail.com<MSN%253Aanthony_minessale@hotmail.com>
MSN%3Aanthony_minessale@hotmail.com<MSN%253Aanthony_minessale@hotmail.com>
<MSN%253Aanthony_minessale@hotmail.com<MSN%25253Aanthony_minessale@hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com>
<PAYPAL%3Aanthony.minessale@gmail.com<PAYPAL%253Aanthony.minessale@gmail.com>
<PAYPAL%3Aanthony.minessale@gmail.com<PAYPAL%253Aanthony.minessale@gmail.com>
<PAYPAL%253Aanthony.minessale@gmail.com<PAYPAL%25253Aanthony.minessale@gmail.com>
Quote: |
Quote: | Quote: | Quote: |
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
|
|
|
| sip:888@conference.freeswitch.org<sip%3A888@conference.freeswitch.org>
<sip%3A888@conference.freeswitch.org<sip%253A888@conference.freeswitch.org>
sip%3A888@conference.freeswitch.org<sip%253A888@conference.freeswitch.org>
<sip%253A888@conference.freeswitch.org<sip%25253A888@conference.freeswitch.org>
Quote: |
Quote: | Quote: | Quote: |
iax:guest@conference.freeswitch.org/888
|
|
|
| googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org>
<googletalk%3Aconf%2B888@conference.freeswitch.org<googletalk%253Aconf%252B888@conference.freeswitch.org>
<googletalk%3Aconf%2B888@conference.freeswitch.org<googletalk%253Aconf%252B888@conference.freeswitch.org>
<googletalk%253Aconf%252B888@conference.freeswitch.org<googletalk%25253Aconf%25252B888@conference.freeswitch.org>
http://lists.freeswitch.org/mailman/options/freeswitch-users
Quote: | Quote: | Quote: | Quote: | http://www.freeswitch.org
|
--
View this message in context:
|
|
| http://www.nabble.com/general-question-about-API-command-tp21032754p21033993.html
http://lists.freeswitch.org/mailman/options/freeswitch-users
<MSN%3Aanthony_minessale@hotmail.com><
MSN%3Aanthony_minessale@hotmail.com<MSN%253Aanthony_minessale@hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com>
<PAYPAL%3Aanthony.minessale@gmail.com<PAYPAL%253Aanthony.minessale@gmail.com>
Quote: |
Quote: | IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
|
| <sip%3A888@conference.freeswitch.org><
sip%3A888@conference.freeswitch.org<sip%253A888@conference.freeswitch.org>
Quote: |
Quote: | iax:guest@conference.freeswitch.org/888
|
| googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org>
<googletalk%3Aconf%2B888@conference.freeswitch.org<googletalk%253Aconf%252B888@conference.freeswitch.org>
http://lists.freeswitch.org/mailman/options/freeswitch-users
Quote: | Quote: | http://www.freeswitch.org
|
|
--
View this message in context:
http://www.nabble.com/general-question-about-API-command-tp21032754p21050436.html
Sent from the Freeswitch-users mailing list archive at Nabble.com.
_______________________________________________
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 <MSN%3Aanthony_minessale@hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com>
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org>
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@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
|
--
View this message in context: http://www.nabble.com/general-question-about-API-command-tp21032754p21054214.html
Sent from the Freeswitch-users mailing list archive at Nabble.com.
_______________________________________________
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: Wed Dec 17, 2008 11:28 am Post subject: [Freeswitch-users] general question about API command |
|
|
I said i unblocked the ones in mod_commands
mod_conference was it's own module.
I changed it to work in latest trunk as well.
On Wed, Dec 17, 2008 at 4:15 AM, Carole O. <carole.olivier@enst.fr (carole.olivier@enst.fr)> wrote:
Quote: |
(I have just read the post again, I have written <action
application="bind_meta_app" data="1 a s conference::conf1 lock"/> but I
meant <action application="bind_meta_app" data="2 a s conference::conf1
lock"/> please don't pay attention for that, I made the mistake when I have
copied it in the post, not in the configuration.)
Carole O. wrote:
Quote: |
Thanks, this works fine.
But I try to use some other API commands and something goes wrong: I would
like to be able to use the API commands for the conference like lock,
unlock, say, etc... from the dialplan.
I try to add in my dialplan
<action application="bind_meta_app" data="1 a s conference::conf1 lock"/>
but it did not work, I presse F8 and I have got:
2008-12-17 10:47:58 [DEBUG] switch_ivr_async.c:1425 meta_on_dtmf()
sofia/internal/1002@192.168.1.102:2054;line=n7ovvfr7;fs_nat=yes Processing
meta digit '2' [conference::conf1 lock]
2008-12-17 10:47:58 [DEBUG] switch_core_session.c:611
switch_core_session_queue_private_event() Kill
sofia/internal/1002@192.168.1.102:2054;line=n7ovvfr7;fs_nat=yes [BREAK]
You told me that the API commands should not be blocked isn't it? So I do
not understand where I am wrong. Is "bind_meta_app" not supported in
conference?
I have also tried to write directly:
<action application="conference" data="conf1 lock"/>
which also has no effect.
Thanks for your help,
Carole
Anthony Minessale-2 wrote:
Quote: |
it should work with
<action application="bind_meta_app" data="1 ab s transfer::-both 3333"/>
make sure you have debug log on (press f to see if there are any
issues.
On Tue, Dec 16, 2008 at 8:43 AM, Carole O. <carole.olivier@enst.fr (carole.olivier@enst.fr)>
wrote:
Quote: |
Thanks for this answer.
Just a question so that everything is clear: there is no command to
bridge
directly a call and both legs into a conference? We have to transfer the
call to another extension and from there create the conference isn't?
I used the command transfer but I still have a problem. I do the
following
and it did not work: in my dialplan I write:
<action application="bind_meta_app" data="1 ab s transfer::3333"/>
The extension 3333 works fine.
However, nothing happens when I press *1.
Do you have an idea where am I wrong?
(A subsidiary question: will both legs be transferred to the extension
3333
or just the one which press *1? is there a way to transfer both
together?)
Thanks a lot,
Carole
Anthony Minessale-2 wrote:
Quote: |
There is a transfer dial plan application also.
There is not really any benefit in blocking the api commands from the
dialplan
apart from the potential for a blocking api call to delay the audio
| stream
Quote: | which
you can do at your own risk and use the sleep application with 0ms to
flush
the read buffers.
So I guess i can lift that limitation in tree.
see r10790
On Tue, Dec 16, 2008 at 7:07 AM, Carole O. <carole.olivier@enst.fr (carole.olivier@enst.fr)>
| wrote:
Quote: |
Quote: |
Hello,
I have a general question about the API commands. Some of them are
|
| not
Quote: | Quote: | available in the dialplan like uuid_transfer. I was wondering how to
|
| call
Quote: | Quote: | an
API command without using the CLI. Especially I would be interested
|
| in
Quote: | Quote: | knowing if there is any way to call them from a phone, I mean bind a
|
| key
Quote: | Quote: | to
an API command.
For instance I would like to transfer both members of a simple call
|
| into
Quote: | Quote: | a
conference by dialing *1.
I have seen the transfer is possible from the CLI by doing:
api uuid_transfer <uuid> -both 3001
but I do not know how to do it else.
If somebody could give me an insight about the topic it would be
|
| great.
Quote: | Quote: | Thanks,
Carole
--
View this message in context:
|
| http://www.nabble.com/general-question-about-API-command-tp21032754p21032754.html
http://lists.freeswitch.org/mailman/options/freeswitch-users
<MSN%3Aanthony_minessale@hotmail.com ([email]MSN%253Aanthony_minessale@hotmail.com[/email])><
MSN%3Aanthony_minessale@hotmail.com ([email]MSN%253Aanthony_minessale@hotmail.com[/email])<MSN%253Aanthony_minessale@hotmail.com ([email]MSN%25253Aanthony_minessale@hotmail.com[/email])>
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])<PAYPAL%3Aanthony.minessale@gmail.com ([email]PAYPAL%253Aanthony.minessale@gmail.com[/email])>
<PAYPAL%3Aanthony.minessale@gmail.com ([email]PAYPAL%253Aanthony.minessale@gmail.com[/email])<PAYPAL%253Aanthony.minessale@gmail.com ([email]PAYPAL%25253Aanthony.minessale@gmail.com[/email])>
Quote: |
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
| <sip%3A888@conference.freeswitch.org ([email]sip%253A888@conference.freeswitch.org[/email])><
sip%3A888@conference.freeswitch.org ([email]sip%253A888@conference.freeswitch.org[/email])<sip%253A888@conference.freeswitch.org ([email]sip%25253A888@conference.freeswitch.org[/email])>
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])<googletalk%3Aconf%2B888@conference.freeswitch.org ([email]googletalk%253Aconf%252B888@conference.freeswitch.org[/email])>
<googletalk%3Aconf%2B888@conference.freeswitch.org ([email]googletalk%253Aconf%252B888@conference.freeswitch.org[/email])<googletalk%253Aconf%252B888@conference.freeswitch.org ([email]googletalk%25253Aconf%25252B888@conference.freeswitch.org[/email])>
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
--
View this message in context:
http://www.nabble.com/general-question-about-API-command-tp21032754p21033993.html
Sent from the Freeswitch-users mailing list archive at Nabble.com.
_______________________________________________
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]) <MSN%3Aanthony_minessale@hotmail.com ([email]MSN%253Aanthony_minessale@hotmail.com[/email])>
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])<PAYPAL%3Aanthony.minessale@gmail.com ([email]PAYPAL%253Aanthony.minessale@gmail.com[/email])>
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email]) <sip%3A888@conference.freeswitch.org ([email]sip%253A888@conference.freeswitch.org[/email])>
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])<googletalk%3Aconf%2B888@conference.freeswitch.org ([email]googletalk%253Aconf%252B888@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
|
|
--
View this message in context: http://www.nabble.com/general-question-about-API-command-tp21032754p21050436.html
Sent from the Freeswitch-users mailing list archive at Nabble.com.
_______________________________________________
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 |
|
|
carole.olivier at enst.fr Guest
|
Posted: Wed Dec 17, 2008 12:19 pm Post subject: [Freeswitch-users] general question about API command |
|
|
Thanks, this works fine.
But I try to use some other API commands and something goes wrong: I would
like to be able to use the API commands for the conference like lock,
unlock, say, etc... from the dialplan.
I try to add in my dialplan
<action application="bind_meta_app" data="1 a s conference::conf1 lock"/>
but it did not work, I presse F8 and I have got:
2008-12-17 10:47:58 [DEBUG] switch_ivr_async.c:1425 meta_on_dtmf()
sofia/internal/1002@192.168.1.102:2054;line=n7ovvfr7;fs_nat=yes Processing
meta digit '2' [conference::conf1 lock]
2008-12-17 10:47:58 [DEBUG] switch_core_session.c:611
switch_core_session_queue_private_event() Kill
sofia/internal/1002@192.168.1.102:2054;line=n7ovvfr7;fs_nat=yes [BREAK]
You told me that the API commands should not be blocked isn't it? So I do
not understand where I am wrong. Is "bind_meta_app" not supported in
conference?
I have also tried to write directly:
<action application="conference" data="conf1 lock"/>
which also has no effect.
Thanks for your help,
Carole
Anthony Minessale-2 wrote:
Quote: |
it should work with
<action application="bind_meta_app" data="1 ab s transfer::-both 3333"/>
make sure you have debug log on (press f to see if there are any issues.
On Tue, Dec 16, 2008 at 8:43 AM, Carole O. <carole.olivier@enst.fr> wrote:
Quote: |
Thanks for this answer.
Just a question so that everything is clear: there is no command to
bridge
directly a call and both legs into a conference? We have to transfer the
call to another extension and from there create the conference isn't?
I used the command transfer but I still have a problem. I do the
following
and it did not work: in my dialplan I write:
<action application="bind_meta_app" data="1 ab s transfer::3333"/>
The extension 3333 works fine.
However, nothing happens when I press *1.
Do you have an idea where am I wrong?
(A subsidiary question: will both legs be transferred to the extension
3333
or just the one which press *1? is there a way to transfer both
together?)
Thanks a lot,
Carole
Anthony Minessale-2 wrote:
Quote: |
There is a transfer dial plan application also.
There is not really any benefit in blocking the api commands from the
dialplan
apart from the potential for a blocking api call to delay the audio
| stream
Quote: | which
you can do at your own risk and use the sleep application with 0ms to
flush
the read buffers.
So I guess i can lift that limitation in tree.
see r10790
On Tue, Dec 16, 2008 at 7:07 AM, Carole O. <carole.olivier@enst.fr>
| wrote:
Quote: |
Quote: |
Hello,
I have a general question about the API commands. Some of them are not
available in the dialplan like uuid_transfer. I was wondering how to
|
| call
Quote: | Quote: | an
API command without using the CLI. Especially I would be interested in
knowing if there is any way to call them from a phone, I mean bind a
|
| key
Quote: | Quote: | to
an API command.
For instance I would like to transfer both members of a simple call
|
| into
Quote: | Quote: | a
conference by dialing *1.
I have seen the transfer is possible from the CLI by doing:
api uuid_transfer <uuid> -both 3001
but I do not know how to do it else.
If somebody could give me an insight about the topic it would be
|
| great.
Quote: | Quote: | Thanks,
Carole
--
View this message in context:
|
| http://www.nabble.com/general-question-about-API-command-tp21032754p21032754.html
http://lists.freeswitch.org/mailman/options/freeswitch-users
<MSN%3Aanthony_minessale@hotmail.com><
MSN%3Aanthony_minessale@hotmail.com<MSN%253Aanthony_minessale@hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com>
<PAYPAL%3Aanthony.minessale@gmail.com<PAYPAL%253Aanthony.minessale@gmail.com>
Quote: |
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
| <sip%3A888@conference.freeswitch.org><
sip%3A888@conference.freeswitch.org<sip%253A888@conference.freeswitch.org>
Quote: |
iax:guest@conference.freeswitch.org/888
| googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org>
<googletalk%3Aconf%2B888@conference.freeswitch.org<googletalk%253Aconf%252B888@conference.freeswitch.org>
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
Quote: | http://www.freeswitch.org
|
--
View this message in context:
http://www.nabble.com/general-question-about-API-command-tp21032754p21033993.html
Sent from the Freeswitch-users mailing list archive at Nabble.com.
_______________________________________________
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 <MSN%3Aanthony_minessale@hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com>
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org>
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@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
|
--
View this message in context: http://www.nabble.com/general-question-about-API-command-tp21032754p21050314.html
Sent from the Freeswitch-users mailing list archive at Nabble.com.
_______________________________________________
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 |
|
|
carole.olivier at enst.fr Guest
|
Posted: Wed Dec 17, 2008 12:19 pm Post subject: [Freeswitch-users] general question about API command |
|
|
(I have just read the post again, I have written <action
application="bind_meta_app" data="1 a s conference::conf1 lock"/> but I
meant <action application="bind_meta_app" data="2 a s conference::conf1
lock"/> please don't pay attention for that, I made the mistake when I have
copied it in the post, not in the configuration.)
Carole O. wrote:
Quote: |
Thanks, this works fine.
But I try to use some other API commands and something goes wrong: I would
like to be able to use the API commands for the conference like lock,
unlock, say, etc... from the dialplan.
I try to add in my dialplan
<action application="bind_meta_app" data="1 a s conference::conf1 lock"/>
but it did not work, I presse F8 and I have got:
2008-12-17 10:47:58 [DEBUG] switch_ivr_async.c:1425 meta_on_dtmf()
sofia/internal/1002@192.168.1.102:2054;line=n7ovvfr7;fs_nat=yes Processing
meta digit '2' [conference::conf1 lock]
2008-12-17 10:47:58 [DEBUG] switch_core_session.c:611
switch_core_session_queue_private_event() Kill
sofia/internal/1002@192.168.1.102:2054;line=n7ovvfr7;fs_nat=yes [BREAK]
You told me that the API commands should not be blocked isn't it? So I do
not understand where I am wrong. Is "bind_meta_app" not supported in
conference?
I have also tried to write directly:
<action application="conference" data="conf1 lock"/>
which also has no effect.
Thanks for your help,
Carole
Anthony Minessale-2 wrote:
Quote: |
it should work with
<action application="bind_meta_app" data="1 ab s transfer::-both 3333"/>
make sure you have debug log on (press f to see if there are any
issues.
On Tue, Dec 16, 2008 at 8:43 AM, Carole O. <carole.olivier@enst.fr>
wrote:
Quote: |
Thanks for this answer.
Just a question so that everything is clear: there is no command to
bridge
directly a call and both legs into a conference? We have to transfer the
call to another extension and from there create the conference isn't?
I used the command transfer but I still have a problem. I do the
following
and it did not work: in my dialplan I write:
<action application="bind_meta_app" data="1 ab s transfer::3333"/>
The extension 3333 works fine.
However, nothing happens when I press *1.
Do you have an idea where am I wrong?
(A subsidiary question: will both legs be transferred to the extension
3333
or just the one which press *1? is there a way to transfer both
together?)
Thanks a lot,
Carole
Anthony Minessale-2 wrote:
Quote: |
There is a transfer dial plan application also.
There is not really any benefit in blocking the api commands from the
dialplan
apart from the potential for a blocking api call to delay the audio
| stream
Quote: | which
you can do at your own risk and use the sleep application with 0ms to
flush
the read buffers.
So I guess i can lift that limitation in tree.
see r10790
On Tue, Dec 16, 2008 at 7:07 AM, Carole O. <carole.olivier@enst.fr>
| wrote:
Quote: |
Quote: |
Hello,
I have a general question about the API commands. Some of them are
|
| not
Quote: | Quote: | available in the dialplan like uuid_transfer. I was wondering how to
|
| call
Quote: | Quote: | an
API command without using the CLI. Especially I would be interested
|
| in
Quote: | Quote: | knowing if there is any way to call them from a phone, I mean bind a
|
| key
Quote: | Quote: | to
an API command.
For instance I would like to transfer both members of a simple call
|
| into
Quote: | Quote: | a
conference by dialing *1.
I have seen the transfer is possible from the CLI by doing:
api uuid_transfer <uuid> -both 3001
but I do not know how to do it else.
If somebody could give me an insight about the topic it would be
|
| great.
Quote: | Quote: | Thanks,
Carole
--
View this message in context:
|
| http://www.nabble.com/general-question-about-API-command-tp21032754p21032754.html
http://lists.freeswitch.org/mailman/options/freeswitch-users
<MSN%3Aanthony_minessale@hotmail.com><
MSN%3Aanthony_minessale@hotmail.com<MSN%253Aanthony_minessale@hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com>
<PAYPAL%3Aanthony.minessale@gmail.com<PAYPAL%253Aanthony.minessale@gmail.com>
Quote: |
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
| <sip%3A888@conference.freeswitch.org><
sip%3A888@conference.freeswitch.org<sip%253A888@conference.freeswitch.org>
Quote: |
iax:guest@conference.freeswitch.org/888
| googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org>
<googletalk%3Aconf%2B888@conference.freeswitch.org<googletalk%253Aconf%252B888@conference.freeswitch.org>
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
Quote: | http://www.freeswitch.org
|
--
View this message in context:
http://www.nabble.com/general-question-about-API-command-tp21032754p21033993.html
Sent from the Freeswitch-users mailing list archive at Nabble.com.
_______________________________________________
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 <MSN%3Aanthony_minessale@hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com>
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org>
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@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
|
|
--
View this message in context: http://www.nabble.com/general-question-about-API-command-tp21032754p21050436.html
Sent from the Freeswitch-users mailing list archive at Nabble.com.
_______________________________________________
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
|