[Spce-user] help with rewrite rules

Daniel Grotti dgrotti at sipwise.com
Wed Feb 25 11:42:30 EST 2015


Hi Sebastien,
maybe this thread may help you:
https://lists.sipwise.com/pipermail/spce-user/2014-December/007913.html


Also, check you kamailio-proxy.log with debug 2:

ngcp-kamctl proxy fifo debug 2


You will find there what's going wrong with the call.

Daniel




On 02/25/2015 05:37 PM, Sebastien Lesimple wrote:
> Hello!
> 
> I need assistance with rewrite rules and config debug.
> I am stuck and it is driving me nuts!
> 
> I am on the french numbering plan which basicaly work like this:
> For standard numbers it's a leading Zero plus 9 digits: 0ZABPQMCDU
> Special numbers are 3 or 4 digits with no leading zero: 10XY or 3BPQ for
> exemple.
> 
> We don't have area codes any longer, but the numbering plan is split in:
> 01/02/03/04/05 Geo numbers
> 09 Non Geo personal numbers
> 06/07 mobile numbers
> 08 Premium rate numbers
> 10XY and 3BPQ are short numbers
> 
> So I set my NGCP numbers like this:
> 33+1+8 digits
> CC+AC+Number
> 
> A regular national call is directly dialed 0ZABPQMCDU
> An International call is dialed 00+CC+called number
> 
> When dialing out in E164 format with no rewrite rules, things are OK.
> As soon as I imput rewrite rules, it all goes wrong with a message that
> says "the number you have dialed doesn't exist" or the prefix you have
> dialed doesn't exist...
> 
> With inboud I have a long silence after dialing and then it hangs up.
> 
> I have tryed a number of conbinations and rules but I can't seem get the
> proper combination.
> So any help are more than welcomed!
> 
> Regards,
> Seb.
> -- 
> View Sebastien LESIMPLE's profile on LinkedIn
> <http://fr.linkedin.com/pub/sebastien-lesimple/0/6b/293>
> 
> 
> _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> https://lists.sipwise.com/listinfo/spce-user
> 



More information about the Spce-user mailing list