Diversion information in SIP header

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
brendanf
Posts: 4
Joined: Tue Jun 03, 2008 3:28 am

Diversion information in SIP header

Post by brendanf »

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)?
james
Posts: 501
Joined: Mon Dec 10, 2007 12:56 pm

Post by james »

How about the following DialPlan rule?


--------------------------------
[Matching Pattern:]
$request = ^INVITE
$istalking = true
$geturi(To) = (.+)

[Deploy Pattern:]
Diversion = %1
To = sip:new_destination_uri
--------------------------------
brendanf
Posts: 4
Joined: Tue Jun 03, 2008 3:28 am

Post by brendanf »

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
james
Posts: 501
Joined: Mon Dec 10, 2007 12:56 pm

Post by james »

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.
brendanf
Posts: 4
Joined: Tue Jun 03, 2008 3:28 am

Post by brendanf »

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.
brendanf
Posts: 4
Joined: Tue Jun 03, 2008 3:28 am

Post by brendanf »

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?
james
Posts: 501
Joined: Mon Dec 10, 2007 12:56 pm

Post by james »

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?
Post Reply