" /> Removing prefix from DNIS on outgoing trunk in SIP server - Genesys CTI User Forum

Author Topic: Removing prefix from DNIS on outgoing trunk in SIP server  (Read 6861 times)

Offline elek

  • Newbie
  • *
  • Posts: 21
  • Karma: 0
Removing prefix from DNIS on outgoing trunk in SIP server
« on: August 13, 2008, 02:28:41 PM »
Advertisement
Hi everybody,
i have quite a silly question regarding sip server replace-prefix option but i don't get it by myself. How can i completelly remove prefix that i'm using in Sip Server to determine a proper trunk for outgoing call from that call? It is clear from manual how to replace it with another digits but i can not get how to remove it.

Thanks in advance,
Kos

Offline René

  • Administrator
  • Hero Member
  • *****
  • Posts: 1832
  • Karma: 62
Re: Removing prefix from DNIS on outgoing trunk in SIP server
« Reply #1 on: August 14, 2008, 08:54:02 PM »
Hi Kos,

I would say there is no such option allowing you to remove prefix. Could you post here more details why you need to remove the prefix?

R.

Offline elek

  • Newbie
  • *
  • Posts: 21
  • Karma: 0
Re: Removing prefix from DNIS on outgoing trunk in SIP server
« Reply #2 on: August 15, 2008, 08:29:26 AM »
Hi Rene,
thanks for the update.
There is a quite detailed explanation of what i'm doing:
I've got two switches on site - sip server and Cisco CallManager. Each has it own numbering plan (like on SipServer user extensions have DNs of 3 digit starting from 1, RPs use 3 digit numbers starting from 7 etc and on CCM extensions have 4 digit numbers starting from 1, RPs - 4 digits starting from 5 etc) and those plans overlap.
In order to perform inter switch calls (and to use ISCC) i'm using prefixes on both switches, like 6 for CCM on SIpServer and 7 for SipServer on CCM.
So when i need for exapmle to call RP 702 on SipServer from user extension on CCM i dial 7702 and call is sent to SIP server via proper trunk. Before sending call to SipServer CCM replaces prefix 7 from the DNIS and SIpServer recieves INVITE with proper number 702 that it is able to recognize and route. CCM knows about where to send what call from so called RoutePattern, that is quite flexible, so i can do many things with a call related information before sending it out.
As per my understanding on SIpServer same functionality is realized via DN of type Trunk, that has an option called "replace-prefix". According to SIP Server 7.5 deployment guide there is an option called "replace-prefix" that "Contains the digits that are inserted in the DN instead of the prefix for the gateway. If this annex is empty or absent, the number is not modified".
So what i'm trying to do is to set up number translation on sip server side in the same way as on CCM side i.e. use same prefix (say 6) for dialing all CCM DNs from SipServer. But the problem that i'm facing at the momnet is that i can't remove the prefix from the calls, i can only replace it with another digit. May be i should use some special symbol that can be interpreted by SipServer as digit to be removed? It seems to me that this is very common requirement and it should be realized in SipServer.

Hope this clarifies the problem. Waiting for your update.

Kos.

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: Removing prefix from DNIS on outgoing trunk in SIP server
« Reply #3 on: August 15, 2008, 04:12:51 PM »
The propoerty will replace not remove digits, so 6 can be 79 so Cisco can understand it. What you should really do is to configure the switches with its own numbering plan, homogenous. It is never recommendable to make overlaping numbering plans because at the end you arrive to problems like this.

Offline René

  • Administrator
  • Hero Member
  • *****
  • Posts: 1832
  • Karma: 62
Re: Removing prefix from DNIS on outgoing trunk in SIP server
« Reply #4 on: August 20, 2008, 11:02:26 AM »
elek,

I don't think there is a way how to remove prefix from the number in current SIP Server release. You can possibility of removing the prefix on Cisco side when call comes via particular gateway. But I'm not sure Cisco support such operation.

As suggested by Cavagnaro, non-overlapping numbering plan would be the best "solution". If it isn't possible then you can ask Genesys to implement such functionality into SIP Server.

R.

Offline elek

  • Newbie
  • *
  • Posts: 21
  • Karma: 0
Re: Removing prefix from DNIS on outgoing trunk in SIP server
« Reply #5 on: August 21, 2008, 09:56:22 AM »
Ok, thank you guys for your help and advises.