[RTPproxy Devel] Command Help

David Thompson mrdatman at gmail.com
Fri Jun 13 13:48:11 PDT 2008


Thank you for taking the time to respond here, I appreciate it.

-----Original Message-----
From: devel-bounces at rtpproxy.org [mailto:devel-bounces at rtpproxy.org] On
Behalf Of Maxim Sobolev
Sent: Friday, June 13, 2008 1:27 PM
To: RTPproxy Development
Subject: Re: [RTPproxy Devel] Command Help

David Thompson wrote:
> Maxim,
> 
> I have been going through yours and Daniel's code to gather the syntax
> needed for my scenario. I almost have it but wanted to see if you could
help
> me out...
> 
>  
> Here is what I am trying to do:
> 
> Caller A calls into to me with sdp in invite
> I send back immediate comfort ring tone to them
> I then place a call out to Callee B, CalleeB rejects the call (Server
Busy)
> I then place a call out to Callee C, Callee C 
> When CalleeC sends an OK, I bridge the call through the proxy to with
> CallerA.
> 
> So here is what I have so far, if you can fill in the pieces and correct
my
> syntax I would be very grateful.
> 
> 1. Call A sends invite (I to establish rtp with them)
> 	Syntax: "Ls calleeCallID calleeip calleeport fromtag totag"

U call_id remote_ip remote_port from_tag

> 
> 2. I then send a play command: (I want to send comfort ring (looping if
> possible))
> 	Syntax: "P calleeCallID ring.wav codec fromtag totag"

P-1 call_id prompt_name codecs from_tag to_tag

> 3. I need to send an invite to CalleeB (I need a port number to give)
> 	Syntax: "?????" (I just need a port number to send in invite)

You should really use port number from call (1).

> 4. CalleeB Rejects Call so I need to send invite to CalleeC
> 	Syntax: "?????" (I need port number to send in invite)

You can either use port from (1) or do another call:

L call_id remote_ip remote_port to_tag from_tag

> 3. I get an OK from CalleeC I now want to stop playing the ring tone to
> CalleerA and bridge the call  with CallerC
> 	Syntax: "?????" 

S call_id from_tag to_tag

Regards,
-- 
Maksym Sobolyev
Sippy Software, Inc.
Internet Telephony (VoIP) Experts
T/F: +1-646-651-1110
Web: http://www.sippysoft.com
_______________________________________________
Devel mailing list
Devel at rtpproxy.org
http://lists.rtpproxy.org/mailman/listinfo/devel



More information about the Devel mailing list