Sending RFC 2833 tones using PJSIP 1.0.3 on the iPhone

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am trying to send RFC 2833 tones using the pjsua_call_dial_dtmf() method in an iPhone app that I am working on.  The method executes without producing any errors, but analysis of the call traffic shows that the RCTP event is not being sent. 

Are there any configurations that I need to set to enable RFC 2833 tones when sending a call?

Right now I am also considering trying the other 2 methods of sending RFC 2833 tones such as pjmedia_session_dial_dtmf() or pjmedia_stream_dial_dtmf(), but I am unsure how to determine parameters such as,
pjmedia_session * 	session
unsigned 	index
pjmedia_stream * 	stream

here is a snippet of my current code that I am running,

	pj_str_t* digits = (pj_str_t*)[digit UTF8String]; 
	status = pjsua_call_dial_dtmf((pjsua_call_id) current_call, digits);
	
	if (status == PJMEDIA_RTP_EREMNORFC2833) {
		error("Error sending tone", status);
	}

Any feedback would be greatly appreciated.

Thanks, 

Brad

_____________________
Brad Sweeney
brad.sweeney at gmail.com




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20100329/f02fb9ac/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux