|
View:
New views
6 Messages
—
Rating Filter:
Alert me
|
|
|
Red5Phone DTMF issuesIs anyone on the list here using Red5Phone and able to pass DTMF codes correctly? It doesn't work at all for me. I'm using Red5 0.8.0 on Windows. Any ideas? Thank you, costin _________________________________________________________________ Hotmail: Trusted email with powerful SPAM protection. http://clk.atdmt.com/GBL/go/177141665/direct/01/ _______________________________________________ Red5 mailing list Red5@... http://osflash.org/mailman/listinfo/red5_osflash.org |
||||||
|
|
Re: Red5Phone DTMF issuesThe below code can send any dtmf character 0-9, *, #.
public void dialDigit(char digit) { printLog("Sending digit: " + digit); // Send Out Of Band INFO message to signal DTMF NameAddress to_url = ua.call.dialog.getRemoteContact(); NameAddress from_url = ua.call.dialog.getLocalContact(); SipURL request_uri = to_url.getAddress(); String callid = ua.call.dialog.getCallID(); ua.call.dialog.incLocalCSeq(); int cseq = (int) ua.call.dialog.getLocalCSeq(); String localtag = ua.call.dialog.getLocalTag(); String remotetag = ua.call.dialog.getRemoteTag(); Message req = MessageFactory.createRequest(sip_provider, SipMethods.INFO, request_uri, to_url, from_url, null, callid, cseq, localtag, remotetag, null, null); StringBuffer body = new StringBuffer(); body.append("Signal=" + digit + "\r\n"); body.append("Duration=250\r\n"); req.setBody("application/dtmf-relay", body.toString()); TransactionClient t = new TransactionClient(sip_provider, req, new TransListener()); t.request(); } Prabhu Tamilarasan Director of Technology ptamilarasan@... next generation web conferencing Follow us: 675 Bering Drive, Suite 290 Houston, TX 77057 USA www.omNovia.com T +1.281.500.4065 -----Original Message----- From: red5-bounces@... [mailto:red5-bounces@...] On Behalf Of Costin Tuculescu Sent: Monday, November 02, 2009 2:49 PM To: red5 list Subject: [Red5] Red5Phone DTMF issues Is anyone on the list here using Red5Phone and able to pass DTMF codes correctly? It doesn't work at all for me. I'm using Red5 0.8.0 on Windows. Any ideas? Thank you, costin _________________________________________________________________ Hotmail: Trusted email with powerful SPAM protection. http://clk.atdmt.com/GBL/go/177141665/direct/01/ _______________________________________________ Red5 mailing list Red5@... http://osflash.org/mailman/listinfo/red5_osflash.org _______________________________________________ Red5 mailing list Red5@... http://osflash.org/mailman/listinfo/red5_osflash.org |
||||||
|
|
Re: Red5Phone DTMF issues<018301ca5c12$f8d3fe90$ea7bfbb0$@com> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Hi Prabhu=2C =20 Thanks for that. I have a few more questions unfortunately... what class i= n Red5Phone are you adding that code to? Also=2C whats your SIP setup look= ing like? I'm using an outside provider=2C not Asterisk on the same machin= e. I'm able to make calls and get audio in and out=2C but when I add that = code to the SIPUser class and tweak a few things around=2C I just get a 404= in the SIP response. Any other light you can shed on the problem would be= really appreciated. Thanks. =20 Best=2C -Costin ---------------------------------------- > From: ptamilarasan@... > To: red5@... > Date: Mon=2C 2 Nov 2009 17:19:48 -0600 > Subject: Re: [Red5] Red5Phone DTMF issues > > The below code can send any dtmf character 0-9=2C *=2C #. > > public void dialDigit(char digit) > { > printLog("Sending digit: " + digit)=3B > // Send Out Of Band INFO message to signal DTMF > NameAddress to_url =3D ua.call.dialog.getRemoteContact()=3B > NameAddress from_url =3D ua.call.dialog.getLocalContact()=3B > > SipURL request_uri =3D to_url.getAddress()=3B > > String callid =3D ua.call.dialog.getCallID()=3B > ua.call.dialog.incLocalCSeq()=3B > int cseq =3D (int) ua.call.dialog.getLocalCSeq()=3B > String localtag =3D ua.call.dialog.getLocalTag()=3B > String remotetag =3D ua.call.dialog.getRemoteTag()=3B > Message req =3D MessageFactory.createRequest(sip_provider=2C > SipMethods.INFO=2C request_uri=2C to_url=2C from_url=2C null=2C callid=2C= > localtag=2C remotetag=2C null=2C null)=3B > StringBuffer body =3D new StringBuffer()=3B > body.append("Signal=3D" + digit + "\r\n")=3B > body.append("Duration=3D250\r\n")=3B > req.setBody("application/dtmf-relay"=2C body.toString())=3B > > TransactionClient t =3D new TransactionClient(sip_provider=2C req=2C > new TransListener())=3B > t.request()=3B > > } > > > Prabhu Tamilarasan > Director of Technology > ptamilarasan@... > > next generation web conferencing > > Follow us: > > 675 Bering Drive=2C Suite 290 > Houston=2C TX 77057 USA > www.omNovia.com > T +1.281.500.4065 > > > > > > -----Original Message----- > From: red5-bounces@... [mailto:red5-bounces@...] On Behal= > Of Costin Tuculescu > Sent: Monday=2C November 02=2C 2009 2:49 PM > To: red5 list > Subject: [Red5] Red5Phone DTMF issues > > > > Is anyone on the list here using Red5Phone and able to pass DTMF codes > correctly? It doesn't work at all for me. I'm using Red5 0.8.0 on Windows= . > Any ideas? > > Thank you=2C > costin > > > _________________________________________________________________ > Hotmail: Trusted email with powerful SPAM protection. > http://clk.atdmt.com/GBL/go/177141665/direct/01/ > _______________________________________________ > Red5 mailing list > Red5@... > http://osflash.org/mailman/listinfo/red5_osflash.org > > > _______________________________________________ > Red5 mailing list > Red5@... > http://osflash.org/mailman/listinfo/red5_osflash.org =20 Hotmail: Trusted email with powerful SPAM protection. http://clk.atdmt.com/GBL/go/177141665/direct/01/= _______________________________________________ Red5 mailing list Red5@... http://osflash.org/mailman/listinfo/red5_osflash.org |
||||||
|
|
Re: Red5Phone DTMF issuesI am using part of the red5phone code and parts of the mjsip library
directly. The red5phone equivalent class, that I added my code to, is going to be org.red5.server.webapp.sip.SIPUser. Prabhu Tamilarasan Director of Technology ptamilarasan@... next generation web conferencing Follow us: 675 Bering Drive, Suite 290 Houston, TX 77057 USA www.omNovia.com T +1.281.500.4065 -----Original Message----- From: red5-bounces@... [mailto:red5-bounces@...] On Behalf Of Costin Tuculescu Sent: Tuesday, November 03, 2009 12:01 PM To: red5 list Subject: Re: [Red5] Red5Phone DTMF issues <018301ca5c12$f8d3fe90$ea7bfbb0$@com> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Hi Prabhu=2C =20 Thanks for that. I have a few more questions unfortunately... what class i= n Red5Phone are you adding that code to? Also=2C whats your SIP setup look= ing like? I'm using an outside provider=2C not Asterisk on the same machin= e. I'm able to make calls and get audio in and out=2C but when I add that = code to the SIPUser class and tweak a few things around=2C I just get a 404= in the SIP response. Any other light you can shed on the problem would be= really appreciated. Thanks. =20 Best=2C -Costin ---------------------------------------- > From: ptamilarasan@... > To: red5@... > Date: Mon=2C 2 Nov 2009 17:19:48 -0600 > Subject: Re: [Red5] Red5Phone DTMF issues > > The below code can send any dtmf character 0-9=2C *=2C #. > > public void dialDigit(char digit) > { > printLog("Sending digit: " + digit)=3B > // Send Out Of Band INFO message to signal DTMF > NameAddress to_url =3D ua.call.dialog.getRemoteContact()=3B > NameAddress from_url =3D ua.call.dialog.getLocalContact()=3B > > SipURL request_uri =3D to_url.getAddress()=3B > > String callid =3D ua.call.dialog.getCallID()=3B > ua.call.dialog.incLocalCSeq()=3B > int cseq =3D (int) ua.call.dialog.getLocalCSeq()=3B > String localtag =3D ua.call.dialog.getLocalTag()=3B > String remotetag =3D ua.call.dialog.getRemoteTag()=3B > Message req =3D MessageFactory.createRequest(sip_provider=2C > SipMethods.INFO=2C request_uri=2C to_url=2C from_url=2C null=2C callid=2C= > localtag=2C remotetag=2C null=2C null)=3B > StringBuffer body =3D new StringBuffer()=3B > body.append("Signal=3D" + digit + "\r\n")=3B > body.append("Duration=3D250\r\n")=3B > req.setBody("application/dtmf-relay"=2C body.toString())=3B > > TransactionClient t =3D new TransactionClient(sip_provider=2C req=2C > new TransListener())=3B > t.request()=3B > > } > > > Prabhu Tamilarasan > Director of Technology > ptamilarasan@... > > next generation web conferencing > > Follow us: > > 675 Bering Drive=2C Suite 290 > Houston=2C TX 77057 USA > www.omNovia.com > T +1.281.500.4065 > > > > > > -----Original Message----- > From: red5-bounces@... [mailto:red5-bounces@...] On Behal= > Of Costin Tuculescu > Sent: Monday=2C November 02=2C 2009 2:49 PM > To: red5 list > Subject: [Red5] Red5Phone DTMF issues > > > > Is anyone on the list here using Red5Phone and able to pass DTMF codes > correctly? It doesn't work at all for me. I'm using Red5 0.8.0 on Windows= . > Any ideas? > > Thank you=2C > costin > > > _________________________________________________________________ > Hotmail: Trusted email with powerful SPAM protection. > http://clk.atdmt.com/GBL/go/177141665/direct/01/ > _______________________________________________ > Red5 mailing list > Red5@... > http://osflash.org/mailman/listinfo/red5_osflash.org > > > _______________________________________________ > Red5 mailing list > Red5@... > http://osflash.org/mailman/listinfo/red5_osflash.org _________________________________________________________________ Hotmail: Trusted email with powerful SPAM protection. http://clk.atdmt.com/GBL/go/177141665/direct/01/= _______________________________________________ Red5 mailing list Red5@... http://osflash.org/mailman/listinfo/red5_osflash.org _______________________________________________ Red5 mailing list Red5@... http://osflash.org/mailman/listinfo/red5_osflash.org |
||||||
|
|
Re: Red5Phone DTMF issuesI'm trying to get it working using TrixBox but it keeps hanging up the call after almost exactly 2 mins. Have you run into this? Is FreeSwitch a better PBX option for Red5Phone? Thanks, -Costin > From: ptamilarasan@... > To: red5@... > Date: Tue, 3 Nov 2009 12:21:44 -0600 > Subject: Re: [Red5] Red5Phone DTMF issues > > I am using part of the red5phone code and parts of the mjsip library > directly. The red5phone equivalent class, that I added my code to, is going > to be org.red5.server.webapp.sip.SIPUser. > > > Prabhu Tamilarasan > Director of Technology > ptamilarasan@... > > next generation web conferencing > > Follow us: > > 675 Bering Drive, Suite 290 > Houston, TX 77057 USA > www.omNovia.com > T +1.281.500.4065 > > > > > > -----Original Message----- > From: red5-bounces@... [mailto:red5-bounces@...] On Behalf > Of Costin Tuculescu > Sent: Tuesday, November 03, 2009 12:01 PM > To: red5 list > Subject: Re: [Red5] Red5Phone DTMF issues > > > <018301ca5c12$f8d3fe90$ea7bfbb0$@com> > Content-Type: text/plain; charset="iso-8859-1" > Content-Transfer-Encoding: quoted-printable > MIME-Version: 1.0 > > > Hi Prabhu=2C > =20 > Thanks for that. I have a few more questions unfortunately... what class i= > n Red5Phone are you adding that code to? Also=2C whats your SIP setup look= > ing like? I'm using an outside provider=2C not Asterisk on the same machin= > e. I'm able to make calls and get audio in and out=2C but when I add that = > code to the SIPUser class and tweak a few things around=2C I just get a 404= > in the SIP response. Any other light you can shed on the problem would be= > really appreciated. Thanks. > =20 > Best=2C > -Costin > > ---------------------------------------- > > From: ptamilarasan@... > > To: red5@... > > Date: Mon=2C 2 Nov 2009 17:19:48 -0600 > > Subject: Re: [Red5] Red5Phone DTMF issues > > > > The below code can send any dtmf character 0-9=2C *=2C #. > > > > public void dialDigit(char digit) > > { > > printLog("Sending digit: " + digit)=3B > > // Send Out Of Band INFO message to signal DTMF > > NameAddress to_url =3D ua.call.dialog.getRemoteContact()=3B > > NameAddress from_url =3D ua.call.dialog.getLocalContact()=3B > > > > SipURL request_uri =3D to_url.getAddress()=3B > > > > String callid =3D ua.call.dialog.getCallID()=3B > > ua.call.dialog.incLocalCSeq()=3B > > int cseq =3D (int) ua.call.dialog.getLocalCSeq()=3B > > String localtag =3D ua.call.dialog.getLocalTag()=3B > > String remotetag =3D ua.call.dialog.getRemoteTag()=3B > > Message req =3D MessageFactory.createRequest(sip_provider=2C > > SipMethods.INFO=2C request_uri=2C to_url=2C from_url=2C null=2C callid=2C= > cseq=2C > > localtag=2C remotetag=2C null=2C null)=3B > > StringBuffer body =3D new StringBuffer()=3B > > body.append("Signal=3D" + digit + "\r\n")=3B > > body.append("Duration=3D250\r\n")=3B > > req.setBody("application/dtmf-relay"=2C body.toString())=3B > > > > TransactionClient t =3D new TransactionClient(sip_provider=2C req=2C > > new TransListener())=3B > > t.request()=3B > > > > } > > > > > > Prabhu Tamilarasan > > Director of Technology > > ptamilarasan@... > > > > next generation web conferencing > > > > Follow us: > > > > 675 Bering Drive=2C Suite 290 > > Houston=2C TX 77057 USA > > www.omNovia.com > > T +1.281.500.4065 > > > > > > > > > > > > -----Original Message----- > > From: red5-bounces@... [mailto:red5-bounces@...] On Behal= > f > > Of Costin Tuculescu > > Sent: Monday=2C November 02=2C 2009 2:49 PM > > To: red5 list > > Subject: [Red5] Red5Phone DTMF issues > > > > > > > > Is anyone on the list here using Red5Phone and able to pass DTMF codes > > correctly? It doesn't work at all for me. I'm using Red5 0.8.0 on Windows= > . > > Any ideas? > > > > Thank you=2C > > costin > > > > > > _________________________________________________________________ > > Hotmail: Trusted email with powerful SPAM protection. > > http://clk.atdmt.com/GBL/go/177141665/direct/01/ > > _______________________________________________ > > Red5 mailing list > > Red5@... > > http://osflash.org/mailman/listinfo/red5_osflash.org > > > > > > _______________________________________________ > > Red5 mailing list > > Red5@... > > http://osflash.org/mailman/listinfo/red5_osflash.org > =20 > _________________________________________________________________ > Hotmail: Trusted email with powerful SPAM protection. > http://clk.atdmt.com/GBL/go/177141665/direct/01/= > > _______________________________________________ > Red5 mailing list > Red5@... > http://osflash.org/mailman/listinfo/red5_osflash.org > > > _______________________________________________ > Red5 mailing list > Red5@... > http://osflash.org/mailman/listinfo/red5_osflash.org Get gifts for them and cashback for you. Try Bing now. _______________________________________________ Red5 mailing list Red5@... http://osflash.org/mailman/listinfo/red5_osflash.org |
||||||
|
|
Re: Red5Phone DTMF issuesI’m not sure if red5phone does the same or similar, but mjsip
creates two log files, “events” and “messages”. Usually most of my problems
came from unhandled SIP messages that would cause it to error out due to some
exception. Also, I did most of my testing with an Asterisk box which I believe
is pretty much the same as TrixBox. Now we use a paid hosted service though. Thanks,
From:
red5-bounces@... [mailto:red5-bounces@...] On Behalf Of Costin
Tuculescu Hi
Prabhu, I'm
trying to get it working using TrixBox but it keeps hanging up the call after
almost exactly 2 mins. Have you run into this? Is FreeSwitch a
better PBX option for Red5Phone? Thanks, -Costin Get
gifts for them and cashback for you. Try Bing now. _______________________________________________ Red5 mailing list Red5@... http://osflash.org/mailman/listinfo/red5_osflash.org |
| Free embeddable forum powered by Nabble | Forum Help |