pjsua_call_set_hold not putting call on hold

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

 



Thanks for the reply. I have found another way of doing this as a work
around.
I am using now the following to put a call on hold :

// disconnect the call bridge
pjsua_conf_disconnect(0,  pjsua_call_get_conf_port(current_call));
// silent the mic
pjsua_conf_adjust_rx_level(pjsua_call_get_conf_port(current_call), 0.0f);

And the following to release:

// reconnect the call bridge
pjsua_conf_connect(0, pjsua_call_get_conf_port(current_call));
// enable mic again
pjsua_conf_adjust_rx_level(pjsua_call_get_conf_port(current_call), 1.0f);

I know this is not the full-fledged legal way of achieving this but at least
it did the job for me.

Regards
AF




On Thu, Aug 18, 2011 at 10:31 AM, Benny Prijono <bennylp at teluu.com> wrote:

> On Wed, Aug 17, 2011 at 10:27 PM, Fadi Chehimi <fchehimi at localphone.com>
> wrote:
> > Hello
> > I am having a problem oputting a call on hold. I am using the
> > method: pjsua_call_set_hold(...) to put the current call on hold and it
> did
> > work for one or two times. Then i used the
> method pjsua_call_reinvite(...)
> > to release the call from hold. But for some reason putting the call on
> hold
> > is not working anymore!!! I keep getting the following error message in
> the
> > logs:
> >
> >  16:16:27.347    tsx0xbd7664  Temporary failure in sending Request msg
> > INVITE/cseq=24666 (tdta0xbd5400), will try next server. Err=171060
> > (Unsupported transport (PJSIP_EUNSUPTRANSPORT))
> >
> >  16:16:27.347   pjsua_core.c  TX 1480 bytes Request msg INVITE/cseq=24666
> > (tdta0xbd5400) to UDP 94.75.247.45:5060:
> >
>
> The library tried to send your INVITE with TCP, since the request is
> larger than 1300 bytes. But it failed, so then it tried with UDP.
> Unfortunately the log stops short of telling why the UDP transaction
> failed, if it indeed failed.
>
>  Benny
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>



-- 
-------------------------------------
Fadi Chehimi, PhD
Mobile Software Engineer
Localphone Ltd
4 Paradise Street, Sheffield, S1 2DF, UK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20110818/b042e082/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