[Freeswitch-users] Invalid profile

Jair Santos jairds at shaw.ca
Fri Jul 11 12:11:27 PDT 2008


Thank you and I am sure I am missing the point.
 
It seems to me that if I use ="^(12508606894) I'll be able to call this
number only, is that right ? And, I want to call any number.
 
In the public.xml there is <condition field="destination_number"
expression="^(10[01][0-9])$">

Why is this not enough to match any number passed ?
 
Jair Santos

 

-----Original Message-----
From: freeswitch-users-bounces at lists.freeswitch.org
[mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Brian
West
Sent: Friday, July 11, 2008 12:04 PM
To: freeswitch-users at lists.freeswitch.org
Subject: Re: [Freeswitch-users] Invalid profile


you're hitting the public profile.. so you're hitting 12508606894 in
dialplan/public.xml and there is no route for that number in there.. add a
route similar to this but make it actually bridge to say a user. 

    <extension name="public_did">

      <condition field="destination_number" expression="^(12508606894)$">

<!-- do something with it -->
      </condition>

    </extension> 


/b


On Jul 11, 2008, at 1:58 PM, Jair Santos wrote:


2008-07-11 11:53:53 [INFO] mod_dialplan_xml.c:222 dialplan_hunt() Processing
FreeSwitch->12508606894 at public
2008-07-11 11:53:53 [INFO] switch_core_state_machine.c:114
switch_core_standard_on_routing() No Route, Aborting
2008-07-11 11:53:53 [NOTICE] switch_core_state_machine.c:115
switch_core_standard_on_routing() Hangup
sofia/doublenat/1001 at 24.67.78.200:5090 [CS_ROUTING] [NO_ROUTE_DESTINATION]
2008-07-11 11:53:53 [NOTICE] switch_core_session.c:753
switch_core_session_thread() Session 18
(sofia/doublenat/1001 at 24.67.78.200:5090) Ended
2008-07-11 11:53:53 [NOTICE] switch_core_session.c:755
switch_core_session_thread() Close Channel
sofia/doublenat/1001 at 24.67.78.200:5090 [CS_HANGUP]



Brian West
sip:brian at freeswitch.org




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080711/802be06f/attachment-0002.html 


More information about the FreeSWITCH-users mailing list