[nsp] Translation Rules for India

Marcelo Bartsch mbartsch at unix911.ath.cx
Wed May 28 23:15:27 EDT 2003


On Tue, 2003-05-27 at 18:40, Andy Melton wrote:
Andy did you had more examples? maybe a trick between 
destination-pattern and some sed pattern  magic may help?
did you had more examples? i'm not a genius nor a rule experts 
, but can give a try :) .



if you wish reply off-list.






> Sorry if this is OT>>>
> 
> Has anyone constructed a set of VoIP translation rules for India?  The
> country has city codes of variable length, from 2 to 4 digits which must
> be stripped off and replaced with an alternate pattern depending on the
> dialed digits.
> 
> For example, our GW will be in Karnataka.  Any call to Karnataka should
> be place as a local call, i.e. 01191 should be replaced by 95 (Rule 0
> ^01191 95).  However, other cities should be placed as long distance
> calls, i.e. strip the 01191 and pass the city code plus destination
> number. 
> 
> So the problem is that Karnataka has hundreds of cities, far more than
> the 10 translation rule capability.  Does anyone have a template which
> makes some sense of the Indian dialing plan?  
> 
> 
> _______________________________________________
> cisco-nsp mailing list  cisco-nsp at puck.nether.net
> http://puck.nether.net/mailman/listinfo/cisco-nsp
> archive at http://puck.nether.net/pipermail/cisco-nsp/
-- 
Marcelo Bartsch <mbartsch at unix911.ath.cx>



More information about the cisco-nsp mailing list