Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] Event_Socket: How to determine the oginin


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
Prometheus001 at gmx.net
Guest





PostPosted: Fri Dec 05, 2008 7:01 am    Post subject: [Freeswitch-users] Event_Socket: How to determine the oginin Reply with quote

I am building an IVR application where an incoming call is initiating an
outgoing call. When I pass a "variable_other_uuid" (the uuid of the
incoming channel) at originate time, I am able to reference to the
incomig call, once the outgoing call is set up. So the outgoing call can
see the uuid of the incoming call who has originated the outgoing call.
This is needed for bridging the 2 calls together.

However I want to control also the call setup process (see, if the
outgoing call is ringing etc.). At call setup time, when I parse the
channel_originate ,channel_outgoing and channel_progress events, I
cannot see any reference to the incoming call (variable_other_uuid is
not set). I suspect that variables are only passed once the outgoing
channel is set up.

Has anybody an idea, how I may get the uuid of the originating uuid in
the outgoing call at call setup?

Best regards
Peter

_______________________________________________
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
mike at jerris.com
Guest





PostPosted: Fri Dec 05, 2008 9:44 am    Post subject: [Freeswitch-users] Event_Socket: How to determine the oginin Reply with quote

On Dec 5, 2008, at 6:54 AM, Peter P GMX wrote:

Quote:
I am building an IVR application where an incoming call is
initiating an
outgoing call. When I pass a "variable_other_uuid" (the uuid of the
incoming channel) at originate time, I am able to reference to the
incomig call, once the outgoing call is set up. So the outgoing call
can
see the uuid of the incoming call who has originated the outgoing
call.
This is needed for bridging the 2 calls together.

However I want to control also the call setup process (see, if the
outgoing call is ringing etc.). At call setup time, when I parse the
channel_originate ,channel_outgoing and channel_progress events, I
cannot see any reference to the incoming call (variable_other_uuid is
not set). I suspect that variables are only passed once the outgoing
channel is set up.

Control in what way?

Quote:


Has anybody an idea, how I may get the uuid of the originating uuid in
the outgoing call at call setup?


_______________________________________________
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
msc at freeswitch.org
Guest





PostPosted: Fri Dec 05, 2008 12:23 pm    Post subject: [Freeswitch-users] Event_Socket: How to determine the oginin Reply with quote

What is your originate string?
-MC


On Dec 5, 2008, at 3:54 AM, Peter P GMX <Prometheus001@gmx.net> wrote:

Quote:
I am building an IVR application where an incoming call is
initiating an
outgoing call. When I pass a "variable_other_uuid" (the uuid of the
incoming channel) at originate time, I am able to reference to the
incomig call, once the outgoing call is set up. So the outgoing call
can
see the uuid of the incoming call who has originated the outgoing
call.
This is needed for bridging the 2 calls together.

However I want to control also the call setup process (see, if the
outgoing call is ringing etc.). At call setup time, when I parse the
channel_originate ,channel_outgoing and channel_progress events, I
cannot see any reference to the incoming call (variable_other_uuid is
not set). I suspect that variables are only passed once the outgoing
channel is set up.

Has anybody an idea, how I may get the uuid of the originating uuid in
the outgoing call at call setup?

Best regards
Peter

_______________________________________________
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
msc at freeswitch.org
Guest





PostPosted: Fri Dec 05, 2008 12:54 pm    Post subject: [Freeswitch-users] Event_Socket: How to determine the oginin Reply with quote

Peter,

thanks, I will ruminate on this and get back with you as soon as I can.
-MC

On Fri, Dec 5, 2008 at 9:08 AM, Peter P GMX <Prometheus001@gmx.net> wrote:
Quote:
I am a step further, When I set the cid-name then I can access the data
dring
channel_outgoing
channel_originate
channel_progress
channel_answer

However setting the caller_caller_id_number might be better.

This is the originate request:
<?xml version="1.0" ?>
<methodCall>
<methodName>freeswitch.api</methodName>
<params>
<param><value><string>bgapi</string></value></param>
<param><value><string>originate
{other_unique_id=ed525a3a-c2e8-11dd-85f2-75efbd1bca02,origination_caller_id_name=ed525a3a-c2e8-11dd-85f2-75efbd1bca02,origination_caller_id_number=000,ignore_early_media=true}user/1001@siplocal.safecomm.ch
&amp;transfer(5002)</string></value></param>
</params>
</methodCall>

Answer:
<?xml version="1.0" encoding="UTF-8"?>.
<methodResponse>.
<params>.
<param><value><string>+OK Job-UUID: 0856d3ec-c2e9-11dd-85f2-75efbd1bca02
</string></value></param>.
</params>.
</methodResponse>.

By the way: The Job-UUID is different from the channel uuid, so it
cannot be used for my issue.

Best regards
Peter

Michael S Collins schrieb:
Quote:
What is your originate string?
-MC


On Dec 5, 2008, at 3:54 AM, Peter P GMX <Prometheus001@gmx.net> wrote:


Quote:
I am building an IVR application where an incoming call is
initiating an
outgoing call. When I pass a "variable_other_uuid" (the uuid of the
incoming channel) at originate time, I am able to reference to the
incomig call, once the outgoing call is set up. So the outgoing call
can
see the uuid of the incoming call who has originated the outgoing
call.
This is needed for bridging the 2 calls together.

However I want to control also the call setup process (see, if the
outgoing call is ringing etc.). At call setup time, when I parse the
channel_originate ,channel_outgoing and channel_progress events, I
cannot see any reference to the incoming call (variable_other_uuid is
not set). I suspect that variables are only passed once the outgoing
channel is set up.

Has anybody an idea, how I may get the uuid of the originating uuid in
the outgoing call at call setup?

Best regards
Peter

_______________________________________________
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



_______________________________________________
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





PostPosted: Fri Dec 05, 2008 1:08 pm    Post subject: [Freeswitch-users] Event_Socket: How to determine the oginin Reply with quote

job-uuid can be used to match the BACKGROUND_JOB event which will
have the output of the originate command in the body.

since you are using bgapi it goes asyncronous and must deliver the reply to you via the event interface.


On Fri, Dec 5, 2008 at 11:50 AM, Michael Collins <msc@freeswitch.org (msc@freeswitch.org)> wrote:
Quote:
Peter,

thanks, I will ruminate on this and get back with you as soon as I can.
-MC


On Fri, Dec 5, 2008 at 9:08 AM, Peter P GMX <Prometheus001@gmx.net (Prometheus001@gmx.net)> wrote:
Quote:
I am a step further, When I set the cid-name then I can access the data
dring
channel_outgoing
channel_originate
channel_progress
channel_answer

However setting the caller_caller_id_number might be better.

This is the originate request:
<?xml version="1.0" ?>
<methodCall>
<methodName>freeswitch.api</methodName>
<params>
<param><value><string>bgapi</string></value></param>
<param><value><string>originate
{other_unique_id=ed525a3a-c2e8-11dd-85f2-75efbd1bca02,origination_caller_id_name=ed525a3a-c2e8-11dd-85f2-75efbd1bca02,origination_caller_id_number=000,ignore_early_media=true}user/1001@siplocal.safecomm.ch (1001@siplocal.safecomm.ch)
&amp;transfer(5002)</string></value></param>
</params>
</methodCall>

Answer:
<?xml version="1.0" encoding="UTF-8"?>.
<methodResponse>.
<params>.
<param><value><string>+OK Job-UUID: 0856d3ec-c2e9-11dd-85f2-75efbd1bca02
</string></value></param>.
</params>.
</methodResponse>.

By the way: The Job-UUID is different from the channel uuid, so it
cannot be used for my issue.

Best regards
Peter

Michael S Collins schrieb:
Quote:
What is your originate string?
-MC


On Dec 5, 2008, at 3:54 AM, Peter P GMX <Prometheus001@gmx.net (Prometheus001@gmx.net)> wrote:


Quote:
I am building an IVR application where an incoming call is
initiating an
outgoing call. When I pass a "variable_other_uuid" (the uuid of the
incoming channel) at originate time, I am able to reference to the
incomig call, once the outgoing call is set up. So the outgoing call
can
see the uuid of the incoming call who has originated the outgoing
call.
This is needed for bridging the 2 calls together.

However I want to control also the call setup process (see, if the
outgoing call is ringing etc.). At call setup time, when I parse the
channel_originate ,channel_outgoing and channel_progress events, I
cannot see any reference to the incoming call (variable_other_uuid is
not set). I suspect that variables are only passed once the outgoing
channel is set up.

Has anybody an idea, how I may get the uuid of the originating uuid in
the outgoing call at call setup?

Best regards
Peter

_______________________________________________
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


_______________________________________________
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



_______________________________________________
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


_______________________________________________
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
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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

VoiceMeUp - Corporate & Wholesale VoIP Services