[OpenSIPS-Users] [Kamailio-Users] Question about redirect if user is not online

Andrew Pogrebennyk andrew.pogrebennyk at portaone.com
Mon Sep 22 15:32:22 CEST 2008

Check the avpops module:
You can put the call forwarding settings into the usr_preference table:
username: your_subscriber_id
attribute: callfwd
type: 0
value: sip:userid at asterisk.domain.com

And then use several simple statements to push this AVP to the SIP 
packet changing the original Request-URI to the new one.

The following link has all the variables you can assign the values to 
marked in red:
Hope it helps.

Ali Jawad wrote:
> Hi
> I got the below fixed, however I do need to achieve something else as
> well. When I forward the call to asterisk I need asterisk to forward it
> in turn to my cellphone number. Where an how should I re-write the DID
> number of my SIP packet that acts as the destination URI to my cell
> phone number.

Andrew Pogrebennyk

More information about the Users mailing list