[Freeswitch-users] mod_dptools acting funny?

Peter Villeneuve petervnv1 at gmail.com
Tue Jun 3 22:39:53 MSD 2014


Thanks Anthony.

It seems that my dp is picking it up as a local extension even though it
doesn't start with 1 or 2 nor is it 3 digits.
Weird, huh?

sofia/internal/1000 at my.domain.com Regex (PASS) [Local_Extension]
destination_number(#351213572318) =~ /^1|2(\d{3})$/ break=on-false
Dialplan: sofia/internal/1000 at my.domain.com Action
export(dialed_extension=318)


On Tue, Jun 3, 2014 at 7:25 PM, Anthony Minessale <
anthony.minessale at gmail.com> wrote:

> console loglevel debug
>
>
> On Tue, Jun 3, 2014 at 1:20 PM, Peter Villeneuve <petervnv1 at gmail.com>
> wrote:
>
>> Hi,
>>
>> Trying to process a simple call and it seems that mod_dptools is only
>> recognizing the last 3 digits of the dialled number instead of the complete
>> number (318 in this example).
>>
>> Any clue what I'm doing wrong?
>>
>> Thanks,
>> Peter
>>
>>
>> 2014-06-03 18:15:27.933596 [INFO] mod_dialplan_xml.c:558 Processing
>> <1000>->#123456782318 in context default
>> 2014-06-03 18:15:27.933596 [INFO] switch_ivr_async.c:3631 Bound B-Leg: *1
>> execute_extension::dx XML features
>> 2014-06-03 18:15:27.933596 [INFO] switch_ivr_async.c:3631 Bound B-Leg: *2
>> record_session::/usr/local/freeswitch/recordings/1000.2014-06-03-18-15-27.wav
>> 2014-06-03 18:15:27.933596 [INFO] switch_ivr_async.c:3631 Bound B-Leg: *3
>> execute_extension::cf XML features
>> 2014-06-03 18:15:27.933596 [INFO] switch_ivr_async.c:3631 Bound B-Leg: *4
>> execute_extension::att_xfer XML features
>> 2014-06-03 18:15:27.933596 [WARNING] mod_dptools.c:3979 Can't find user [
>> 318 at my.domain.com]
>> 2014-06-03 18:15:27.933596 [NOTICE] switch_ivr_originate.c:2707 Cannot
>> create outgoing channel of type [user] cause: [SUBSCRIBER_ABSENT]
>> 2014-06-03 18:15:27.933596 [INFO] mod_dptools.c:3234 Originate Failed.
>>  Cause: SUBSCRIBER_ABSENT
>>
>>
>>
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> 
>> 
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>
>
>
> --
> Anthony Minessale II       ♬ @anthmfs  ♬ @FreeSWITCH  ♬
>
>http://freeswitch.org/http://cluecon.com/> http://twitter.com/FreeSWITCH
> ☞ irc.freenode.net #freeswitch ☞ *http://freeswitch.org/g+
> <http://freeswitch.org/g+>*
>
> ClueCon Weekly Development Call
> ☎ sip:888 at conference.freeswitch.org  ☎ +19193869900
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140603/788cf37f/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list