[Freeswitch-users] How to dial out via Voipbuster ?
Gonzalo Servat
gservat at gmail.com
Tue Jul 1 12:20:46 PDT 2008
On Tue, Jul 1, 2008 at 4:07 PM, Henk Oegema <pabx_freeswitch at telenet.be>
wrote:
> [..snip..]
> 2008-07-01 21:05:04 [INFO] mod_dialplan_xml.c:222 dialplan_hunt()
> Processing
> 1000->0031344641353 at default
> 2008-07-01 21:05:04 [DEBUG] mod_dialplan_xml.c:107 parse_exten() test
> conditions destination_number(0031344641353) =~ /^(0031\d*})$/
> 2008-07-01 21:05:04 [DEBUG] mod_dialplan_xml.c:109 parse_exten() Regex
> mismatch
>
Regex problem. You've got:
<condition field="destination_number" expression="^(0031\d*})$">
You probably want:
<condition field="destination_number" expression="^(0031\d+)$">
I changed the '*' to a '+' as you probably want at least one digit after the
0031 to match, but that's up to you. The problem was with the '}' just
before the closing parentheses.
- Gonzalo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080701/62ba421e/attachment-0002.html
More information about the FreeSWITCH-users
mailing list