[Message Prev][Message
Next][Thread Prev][Thread Next][Message
Index][Thread Index]
Re: axc-v0.7b Number Formatter1 how to?
hometecky wrote:
> Question How do I format a number dialed by SB to add 38 to prefix all
> numbers dialed by a perticular Trunk?
>
> currently have the following:
>
> [greyhawk]
> incoming_channel = IAX2/greyhawk
> outgoing_channel = IAX/interoffice
> country_code = 1
> network-type = VPSTN
> dialer = VPSTN
> dial_context = from-internal
> number-formatter = s/1?(\d{10})/$1/
If *any* number preceded by '38', then:
number-formatter = s/(\d+)/38$1/
------------------------------------
xAP_Automation Main Index |
xAP_Automation Thread Index |
xAP_Automation Home |
Archives Home
|