[OpenSIPS-Users] [Kamailio-Users] Question about redirect if user is not online "EDIT AVPOPS"
ali.jawad at splendor.net
Tue Sep 23 10:36:10 CEST 2008
Thanks for the hint
I did try the following:
####### AVPOPS Section
In the route statement I did add
I got this error
Sep 23 09:21:03  ERROR:avpops:parse_avp_db: error - bad avp flags
Sep 23 09:21:03  ERROR:avpops:fixup_db_avp: parse failed
Sep 23 09:21:03  ERROR:core:fix_actions: fixing failed (code=-1) at
cfg line 307
Sep 23 09:21:03  CRITICAL:core:fix_expr: fix_actions error
From: Andrew Pogrebennyk [mailto:andrew.pogrebennyk at portaone.com]
Sent: 2008-09-22 16:32
To: Ali Jawad
Subject: Re: [OpenSIPS-Users] [Kamailio-Users] Question about redirect
if user is not online
Check the avpops module:
You can put the call forwarding settings into the usr_preference table:
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:
> 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
> 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.
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the Users