News & Reviews
More How-To's & Tips More News
More Reviews Device Configuration Tools
No account yet? Create one
Forgot your Username or Password?





Reply
 
LinkBack Article Tools Rate Article Display Modes
  #1  

Default Configuring CommuniGate Pro for ISN Dialing

 

Contents

[top]Introduction


ISN provides an easy way for campuses, enterprises, and service providers to acquire globally-unique and globally-routable subscriber numbers to support new communications services.

[top]CommuniGate Configuration


By adding router rules and an optional helper application, CommuniGate Pro can be configured to support ISN dialing without the need for a special dialing prefix (012, for example). Users can simply dial 1234*123.

[top]Generating the Router Rules


In order to route ISN numbers, we must create router rules.

To route ISN numbers, two wildcards are needed, one for the subscriber number (the number before the asterisk) and one for the ITAD (the number after the asterisk).

The CommuniGate Pro router rules are limited to one wildcard per rule. The easiest way to get around this limitation is to generate a router rule for each ITAD. CommuniGate has been tested with over 10,000 router rules without any impact on performance, so adding a few thousand for ISN routing shouldn't cause any problems[1].

Below is a perl script that will generate ISN rules for the TRIP ITAD Numbers 256 - 2000. Only ITADs up to 730 have been issued as of this writing.

The ISN.pl script:
Code:
#!/usr/bin/perl
print "; ---ISN Dialing - freenum.org ---\n";
for ($x=256; $x < 2001; $x++) {
  print "S:<(1+d)\\*$x\@*> = *\\*$x\@isn\n";
}
print "S:isn = freenum.org\n";
exit(0);
Create an ISN.pl file on your system and run
Code:
 ./isn.pl > isn.txt
or use the attached ISN.txt file.

The rules look like:

Code:
; ---ISN Dialing - freenum.org ---
S:<(1+d)\*256@*> = *\*256@isn
S:<(1+d)\*257@*> = *\*257@isn
...
S:<(1+d)\*2000@*> = *\*2000@isn
S:isn = freenum.org
  • Copy the text from ISN.txt and paste them into the CommuniGate Pro Web Admin Interface in the Settings->Router tab.
  • Click the Update button to save your work.
  • You're done with basic configuration.
  • Test your work by entering 613*262 into the Test Address box, change the drop-down box to Signal, and Click the Test button.
  • If your get:
    Routed to SIP host fwd.pulver.com(613@fwd.pulver.com) (can relay)
    your configuration is working properly.
This configuration works by sending an ISN-style SIP INVITE to the freenum.org SIP proxy. The SIP proxy then returns a 302 Moved Temporarily style reply. As an example: 613*262 is an ISN for extension 613 on ITAD 262 (Free World Dialup.) When a user dials 613*262, CommuniGate Pro will try to reach 613*262@freenum.org, that INVITE will be re-written by the Freenum redirector to be 613@fwd.pulver.com which in turn will lead to an echo test on the Free World Dialup system.

[top]External Helper with DNS lookup


Instead of sending a SIP INVITE to the freenum.org SIP proxy, the preferred configuration below explains how to configure CommuniGate Pro to use an external helper application to perform an ENUM style DNS lookup to return the destination SIP URI.
  • Copy the attached cgp-ISN-resolver.pl perl script into the /var/CommuniGate directory on your CommuniGate Pro server.
  • Make sure that the user that owns the CommuniGate files also owns the cgp-ISN-resolver.pl file.
  • Make sure that the owner can execute the cgp-ISN-resolver.pl file.
  • Go to the CommuniGate Pro Web Admin Interface.
  • Navigate to the Settings->General->Helpers tab.
  • Check External Authentication.
  • Set Time-out to 5 sec.
  • Set Program Path to /var/CommuniGate/cgp-ISN-resolver.pl
  • Set Auto-Restart to 5 min.
  • Click the Update button.
  • If you didn't receive any red error messages, the helper application is running.
  • Go to the CommuniGate Pro Web Admin Interface Settings->Router tab.
  • Find the following line in the router settings:
    Code:
    S:isn = freenum.org
  • Change the line to:
    Code:
    S:isn = external
  • Click the Update button to save your work.
  • Test your work by entering 613*262 into the Test Address box, change the drop-down box to Signal, and Click the Test button.
  • If your get:
    Routed to SIP host fwd.pulver.com(613@fwd.pulver.com) (can relay)
    your configuration is working properly.

[top]Conclusion


Test your settings by dialing an ISN number from an IP phone[2] registered with your CommuniGate Pro server.

[1] If adding additional routing rules does cause problems with your system, you will have to create an external helper application or modify the helper application included in this tutorial.

[2] You may need to update your phone dial plan to support ISN dialing

Attached Files
File Type: txt isn.txt (54.8 KB, 1 views)
File Type: pl cgp-isn-resolver.pl (5.9 KB, 7 views)


Contributors:
Created by eric, October 6th, 2007 at 02:19 AM
Last edited by eric, October 6th, 2007 at 02:19 AM
0 Comments , 1445 Views
Reply


Article Tools
Display Modes Rate This Thread
Rate This Thread:



Similar Threads for: Configuring CommuniGate Pro for ISN Dialing
Thread Thread Starter Forum Replies Last Post
How to enable ISN dialing on a Linksys device eric VoIP Wiki 0 October 5th, 2007 10:32 PM
CommuniGate Pro 5.1.4 is released eric CommuniGate Pro Support Forum 0 December 22nd, 2006 09:31 PM
Using iCal with CommuniGate Pro eric CommuniGate Pro Support Forum 0 December 22nd, 2006 09:27 PM
CommuniGate Released CommuniGate Pro 5.1.1 eric CommuniGate Pro Support Forum 1 October 31st, 2006 08:45 PM
CommuniGate Pro marsaro Other Hardware/Software 0 November 11th, 2005 08:09 AM



All times are GMT. The time now is 09:07 AM.


vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd. SEO by vBSEO 3.0.0 ©2007, Crawlability, Inc. Logos and trademarks are the property of Voxilla or their respective owner. All other content © 2003-2007 by Voxilla, Inc.