How to generate 302 REDIRECT

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

 



On Thu, Apr 10, 2008 at 3:50 PM,  <tloginbr-pjsip at yahoo.com.br> wrote:
> Hi guys, how can I generate a 302 redirect message for incoming calls
>  using pjsua? I'm trying to distribute all incoming calls according to
>  the originating number, like send all calls from numbers that begin
>  with 35 to specific uri and calls that begin with 36 to a different
>  uri.

Use pjsua_call_hangup() and put the destination URL in the Contact
header of the pjsua_msg_data.

Cheers
 Benny

>  Thanks in advance,
>
>  Thiago
>



[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