[Freeswitch-users] how do I get more out of destination_number?

Michael S Collins msc at freeswitch.org
Tue Jun 22 08:15:20 PDT 2010


I was laying in bed with my kid waiting for her to fall asleep. Yes it  
was painful but less so than laying there bored out of my mind. :)

-MC
(am now laying in my bed trying to get motivated to get up...)

Sent from my iPhone

On Jun 22, 2010, at 5:17 AM, Brian West <brian at freeswitch.org> wrote:

> I still for the life of me don't get how you type this long emails  
> on that iPhone... is that painful?
>
> /b
>
> On Jun 22, 2010, at 1:39 AM, Michael S Collins wrote:
>
>> This sounds like a regex issue or a carrier issue. I would recommend
>> that you route all incoming calls to the info app in public.xml and
>> make a few test calls. Watch the console and see if any fields  
>> contain
>> the full dialed number.
>>
>> In public.xml just create a new extension with a simple condition  
>> that
>> grabs everything:
>>
>> field="destination_number" expression="^(.*)$"
>>
>> Then a simple action application="info" and that's it. Make a call  
>> and
>> watch the  console. The call will disconnect immediately unless you
>> put something after the info app. If you are having trouble
>> deciphering the info output then drop it in pastebin and we will take
>> a look.
>>
>> -MC
>>
>> Sent from my iPhone
>
>
> _______________________________________________
> 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



More information about the FreeSWITCH-users mailing list