Author |
Message |
brendanf Brekeke Newbie
Joined: 03 Jun 2008 Posts: 4
|
Posted: Tue Jun 03, 2008 3:46 am Post subject: Diversion information in SIP header |
|
|
Brekeke SIP Server 2.1.6.6
Java version: Ver 6 Upd 5
OS version: Win XP SP2
Is there any way to configure Brekeke to provide DIVERSION information in the packet header (when an endpoint is diverted/forwarded on busy/no answer)? |
|
Back to top |
|
james Brekeke Master Guru
Joined: 10 Dec 2007 Posts: 495
|
Posted: Tue Jun 03, 2008 10:26 am Post subject: |
|
|
How about the following DialPlan rule?
Matching Patterns | $request = ^INVITE $istalking = true $geturi(To) = (.+)
| Deploy Patterns | Diversion = %1
To = sip:new_destination_uri |
|
|
Back to top |
|
brendanf Brekeke Newbie
Joined: 03 Jun 2008 Posts: 4
|
Posted: Wed Jun 04, 2008 8:26 am Post subject: |
|
|
Thanks for the prompt response james. I am very new to brekeke, hence am familiarising myself with areas such as dialplans.
I created a new dial plan, and have entered exactly as you have typed, replacing the Deploy pattern "To:xxx" with the uri of my external application server... however, still no Diversion info is provided.
I am not sure if it relevant, but I noticed in the dialplan screen that both the phrases "$istalking = true" and "Diversion=%1" are in red... is this indicating a problem?
Thanks |
|
Back to top |
|
james Brekeke Master Guru
Joined: 10 Dec 2007 Posts: 495
|
Posted: Wed Jun 04, 2008 11:29 am Post subject: |
|
|
Don't worry.. Diversion and $istalking will be in red..
I wonder why "Diversion" is not shown in your packet....
Do you want to add "Diversion" in the INVITE request packet?
Or.. do you want to add "Diversion" in the response packet??
Try removing "$istalking = true" from the DialPlan rule. |
|
Back to top |
|
brendanf Brekeke Newbie
Joined: 03 Jun 2008 Posts: 4
|
Posted: Thu Jun 05, 2008 8:39 am Post subject: |
|
|
I have removed $istalking -- no success I'm afraid -- still no diversion info.
I am looking for the diversion info to be provided in the INVITE packet sent from the brekeke sip server to the external client application. |
|
Back to top |
|
brendanf Brekeke Newbie
Joined: 03 Jun 2008 Posts: 4
|
Posted: Thu Jun 05, 2008 8:46 am Post subject: |
|
|
Just as an after thought... do I have to apply any specific settings within the PBX administrator with regard to the call forwarding params (eg. "type of call forwarding" / "pattern setting" etc) before the appropriate diversion header info might be provided? |
|
Back to top |
|
james Brekeke Master Guru
Joined: 10 Dec 2007 Posts: 495
|
Posted: Thu Jun 05, 2008 10:28 am Post subject: |
|
|
Hi
>> -- no success I'm afraid -- still no diversion
It seems your dialplan might have a syntax error or so on...
Anyway.. did you push [Apply Rules] after you edited the dialplan?
>> ... do I have to apply any specific settings within the PBX
You don't have to do it..
While you are on the phone, please go to the session detail page. ([Active Sessions] -> [Details])
Can you see your DialPlan rule name at the [rule:] fields? |
|
Back to top |
|
|