VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
odermann at googlemail... Guest
|
Posted: Mon Feb 09, 2009 10:18 am Post subject: [Freeswitch-users] Socket-Event on "originate call" |
|
|
hi,
i am using socket outbound with fs.
if i do an originate over the console, for starting an outbound call
without having an inbound call, and send the originate directly to the
socket, the socket is first started, if the call is in answer or
ringing state.
before this, i will not receive any event, because the socket was not
started. therefore i will not know, if the target is "busy" (hangup,
hangup cause: user busy).
it would be very helpful, if the socket would start immediately on an
event like "channel originate".
thanks for the help
dennis
_______________________________________________
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 Feb 09, 2009 10:28 am Post subject: [Freeswitch-users] Socket-Event on "originate call" |
|
|
when an originate is unsuccessful the failure and the cause code is returned as the reply to the originate request.
On Mon, Feb 9, 2009 at 9:16 AM, Dennis <odermann@googlemail.com (odermann@googlemail.com)> wrote:
Quote: | hi,
i am using socket outbound with fs.
if i do an originate over the console, for starting an outbound call
without having an inbound call, and send the originate directly to the
socket, the socket is first started, if the call is in answer or
ringing state.
before this, i will not receive any event, because the socket was not
started. therefore i will not know, if the target is "busy" (hangup,
hangup cause: user busy).
it would be very helpful, if the socket would start immediately on an
event like "channel originate".
thanks for the help
dennis
_______________________________________________
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 |
|
|
odermann at googlemail... Guest
|
Posted: Tue Feb 10, 2009 10:18 am Post subject: [Freeswitch-users] Socket-Event on "originate call" |
|
|
yes, you are right. we are receiving the reply.
but, we are using socket outbound and manage all calls over this
socket. we also measure the durations (like variable_duration and
variable_billsec) and count all outgoing calls over the socket.
but, if the originate (without an inbound call) will not start the
socket, we can not count up, how many calls failed because of "user
busy" or how long the platform was in use.
a possible workarround: is it possible to trigger a dialplan over the
cli (like our default dialplan, which starts the socket), so that the
dialplan starts the originates?
the basic problem for us, that, if we just want to make dialouts, we
are missing the inbound call to start the socket.
kind regards
dennis
2009/2/9 Anthony Minessale <anthony.minessale@gmail.com>:
Quote: | when an originate is unsuccessful the failure and the cause code is returned
as the reply to the originate request.
On Mon, Feb 9, 2009 at 9:16 AM, Dennis <odermann@googlemail.com> wrote:
Quote: |
hi,
i am using socket outbound with fs.
if i do an originate over the console, for starting an outbound call
without having an inbound call, and send the originate directly to the
socket, the socket is first started, if the call is in answer or
ringing state.
before this, i will not receive any event, because the socket was not
started. therefore i will not know, if the target is "busy" (hangup,
hangup cause: user busy).
it would be very helpful, if the socket would start immediately on an
event like "channel originate".
thanks for the help
dennis
|
|
_______________________________________________
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 |
|
|
odermann at googlemail... Guest
|
Posted: Wed Feb 11, 2009 1:38 pm Post subject: [Freeswitch-users] Socket-Event on "originate call" |
|
|
anthony, did you make the changes with "add {instant_ringback=true} to
make ringback not wait for indication to generate ringback" for the
described problem?
we read something like this out of it, but we can not test it, because
we get errors with the latest fs version (switch_ivr.c:674
switch_ivr_park() Cannot park channels that have no read codec.).
2009/2/10 Dennis <odermann@googlemail.com>:
Quote: | yes, you are right. we are receiving the reply.
but, we are using socket outbound and manage all calls over this
socket. we also measure the durations (like variable_duration and
variable_billsec) and count all outgoing calls over the socket.
but, if the originate (without an inbound call) will not start the
socket, we can not count up, how many calls failed because of "user
busy" or how long the platform was in use.
a possible workarround: is it possible to trigger a dialplan over the
cli (like our default dialplan, which starts the socket), so that the
dialplan starts the originates?
the basic problem for us, that, if we just want to make dialouts, we
are missing the inbound call to start the socket.
kind regards
dennis
2009/2/9 Anthony Minessale <anthony.minessale@gmail.com>:
Quote: | when an originate is unsuccessful the failure and the cause code is returned
as the reply to the originate request.
On Mon, Feb 9, 2009 at 9:16 AM, Dennis <odermann@googlemail.com> wrote:
Quote: |
hi,
i am using socket outbound with fs.
if i do an originate over the console, for starting an outbound call
without having an inbound call, and send the originate directly to the
socket, the socket is first started, if the call is in answer or
ringing state.
before this, i will not receive any event, because the socket was not
started. therefore i will not know, if the target is "busy" (hangup,
hangup cause: user busy).
it would be very helpful, if the socket would start immediately on an
event like "channel originate".
thanks for the help
dennis
|
|
|
_______________________________________________
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 |
|
|
brian at freeswitch.org Guest
|
Posted: Wed Feb 11, 2009 2:17 pm Post subject: [Freeswitch-users] Socket-Event on "originate call" |
|
|
Try answer or pre_answer before park.
/b
On Feb 11, 2009, at 12:37 PM, Dennis wrote:
Quote: | anthony, did you make the changes with "add {instant_ringback=true} to
make ringback not wait for indication to generate ringback" for the
described problem?
we read something like this out of it, but we can not test it, because
we get errors with the latest fs version (switch_ivr.c:674
switch_ivr_park() Cannot park channels that have no read codec.).
|
_______________________________________________
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 |
|
|
odermann at googlemail... Guest
|
Posted: Wed Feb 11, 2009 3:13 pm Post subject: [Freeswitch-users] Socket-Event on "originate call" |
|
|
this does not help. we are using socket outbound and everything worked
before the changes yesterday.
we have the same error with other dialplans.
Quote: | 2009/2/11 Brian West <brian@freeswitch.org>:
Try answer or pre_answer before park.
/b
On Feb 11, 2009, at 12:37 PM, Dennis wrote:
Quote: | anthony, did you make the changes with "add {instant_ringback=true} to
make ringback not wait for indication to generate ringback" for the
described problem?
we read something like this out of it, but we can not test it, because
we get errors with the latest fs version (switch_ivr.c:674
switch_ivr_park() Cannot park channels that have no read codec.).
|
|
_______________________________________________
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 |
|
|
brian at freeswitch.org Guest
|
Posted: Wed Feb 11, 2009 3:19 pm Post subject: [Freeswitch-users] Socket-Event on "originate call" |
|
|
Please collect the backtrace and report it on Jira.
/b
On Feb 11, 2009, at 2:11 PM, Dennis wrote:
Quote: | this does not help. we are using socket outbound and everything worked
before the changes yesterday.
we have the same error with other dialplans.
|
_______________________________________________
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 |
|
|
odermann at googlemail... Guest
|
Posted: Thu Feb 12, 2009 2:41 am Post subject: [Freeswitch-users] Socket-Event on "originate call" |
|
|
the problem is fixed in the latest version of fs - at least it is
working as before without any errors.
but there is still the question, if the changes where made because of
our problem with the not starting socket!?
we can see in the cli, that the var is set, but it does not change
anything regarding our problem.
2009/2/11 Brian West <brian@freeswitch.org>:
Quote: | Please collect the backtrace and report it on Jira.
/b
On Feb 11, 2009, at 2:11 PM, Dennis wrote:
Quote: | this does not help. we are using socket outbound and everything worked
before the changes yesterday.
we have the same error with other dialplans.
|
|
_______________________________________________
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: Thu Feb 12, 2009 10:32 am Post subject: [Freeswitch-users] Socket-Event on "originate call" |
|
|
No, I have not made any changes to reflect anything you asked about.
instant_ringback=true is designed to send artificial ringback to the a leg while it's executing the bridge app.
it will be meaningless to you if you do not use it with the bridge application
On Thu, Feb 12, 2009 at 1:39 AM, Dennis <odermann@googlemail.com (odermann@googlemail.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 |
|
|
|
|
|
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
|