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 >