cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
554
Views
0
Helpful
1
Replies

discard firt digit for outgoing call

fredericmoitie
Level 1
Level 1

Hi all.


do you know how i can discard firt digit for outgoing call ?

on my site (french site), i dial digit "0" for outgoing call
example : for call mobile phone, i compose 0 06 12 23 45 67
but with this exemple, i send to my telecom provider 11 digit, so my call was reject

i create a dial peer with forward digit

dial-peer voice 106 pots
destination-pattern 006........
forward-digits 10

this solution work for local french destination

but i have a problem for my international call, because my dial peer is :
dial-peer voice 139 pots
destination-pattern 0T
forward-digits all

and with this dial peer, i send a bad number digit, i send to my provider a zero excess


have you an idea for resolve my problem ?

Thanks

Regards
Frederic

1 Reply 1

djh278778
Level 1
Level 1

By default the pots dial peer will only forward wild card digits and not forward explicitly defined digits. Meaning anything that is not explicitly defined will be forwarded to the PSTN ( T, .., [2-9] etc.). By having the "forward-digits all" command, your telling the gateway to forward all digits matched including the "0".  If you remove this command (forward digits all) then it will forward all of the digits except the "0".

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: