Console app to hang-up a number, if not picking

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

 



Hey Saul,

I tried as below, it works but it only rings for 4 times and then takes me
to the person's message box. I already have a callback for media and
on_call_state.

if(argc < 1)
{
pjsua_call_hangup(call_id, PJSIP_SC_TEMPORARILY_UNAVAILABLE, NULL, NULL);
}

Is there a way to increase the number of rings, 4 is too short I guess?

If this works, I need to try the transfer thing.

Rachel

On Mon, Sep 28, 2009 at 6:14 PM, Sa?l Ibarra <saghul at gmail.com> wrote:

> Read the documentation on the callbacks. There is a callback which is
> called when the media state is changed. You should implement that in
> the callback. A timer is definitely NOT a clean solution.
>
>
>
> --
> /Sa?l
> http://www.saghul.net | http://www.sipdoc.net
>
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090929/15ae57fa/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