Hi all.
This will sound an easy problem, but I can't seem to find an easy answer.
I did research and had some progress, but still not there yet.
I have an inbound trunk that I need to add a 00 prefix to all incoming calls, and then dial them as from-internal.
I know that in the incoming trunk details i need to add a special context like from-trunk-zeroz. something like this-
allow=all
canreinvite=no
context=from-trunk-zeroz
And then add a custom context somewhere. need the context code and it's specific location.
If someone can detail the process i will be very thankfull.
Thanks
custom context for incoming calls
Submitted by drorla on Thu, 05/27/2010 - 7:03am.
self answer
Tue, 06/01/2010 - 10:00am
I found the answer in this forum-
"in extensions_custom.conf add the following lines to the bottom of the config:
[from-trunk-custom]
exten => _X.,1,Set(CALLERID(num)=0${CALLERID(num)})
exten => _X.,n,Goto(from-trunk,${EXTEN},1)
Then go in to your trunk and change "context=from-trunk" TO "context=from-trunk-custom"
Drorla

Member Since:
2007-09-04