Displaying 4 results from an estimated 4 matches for "dialpattern".
2006 Feb 22
2
mysql phone number pattern match query
...e have a mysql query that will compare a number from the
asterisk cdr to a table of international country+city codes to determine
the closest match?
The two fields are;
1. Asterisk mysql cdr 'dst' field - sample record value
'011441316551212'
2. rate table data like this
DialPattern
011447977
011447979
011447980
011447981
011447984
011447985
011447986
011447987
011447988
011447989
011447990
011448
011449
01144
The goal is to find the _longest_ matching record from the rate table
for each dialed number. In this case '01144'
I am not a mySQL expe...
2005 Oct 04
1
Dial pattern sort order
...* to use different sip-trunks
for different calls. I have 2 siptrunks, one for inland calls and one for
international calls. All in country numbers starts with 0 and all
international starts with 00. This I have configured in the outbound
routing. But * always use the incountry trunk because the 0. dialpattern is
also true for international calls
How to fix this?
Regards
Anders Svensson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20051004/1337542e/attachment.htm
2008 Jun 25
0
unable to send a fax to a given FAX number
...hed AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
> fixlocalprefix: Using pattern 1081+112
> fixlocalprefix: Using pattern 1081+110
> fixlocalprefix: Using pattern 1081+11833
> fixlocalprefix: Using pattern 1081+11880
> fixlocalprefix: Using pattern 0|.
== fixlocalprefix: Dialpattern 0|. matched. 01267383226 ->
1267383226
-- AGI Script fixlocalprefix completed, returning 0
-- Executing Set("SIP/233-b4e0a7f8", "OUTNUM=1267383226") in new
stack
-- Executing Set("SIP/233-b4e0a7f8", "custom=ZAP/g1") in new stack
-- Executing GotoIf...
2010 Jun 21
1
How to tell if a dropped call is my fault
...Executing [s at macro-dialout-trunk:12] ExecIf("SIP/611-b7b9ae38", "1|AGI|fixlocalprefix") in new stack
[Jun 21 08:53:29] VERBOSE[21559] logger.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
[Jun 21 08:53:29] VERBOSE[21559] logger.c: == fixlocalprefix: Dialpattern 1+NXXNXXXXXX matched. 5053203372 -> 15053203372
[Jun 21 08:53:29] VERBOSE[21559] logger.c: -- AGI Script fixlocalprefix completed, returning 0
[Jun 21 08:53:29] DEBUG[21559] app_macro.c: Executed application: ExecIf
[Jun 21 08:53:29] DEBUG[21559] app_macro.c: Last app: AGI|fixlocalprefix
[Ju...