[Freeswitch-users] conference from a sip provider
Antony King
antony.king at solutiontrax.com
Thu Apr 16 02:11:45 PDT 2009
Aha - hadn't seen that one.
This was in the log after pressing f8:
--
2009-04-16 09:50:58 [INFO] mod_dialplan_xml.c:233 dialplan_hunt() Processing 0XXXXXXXXXXX->3001 in context public
2009-04-16 09:50:58 [DEBUG] mod_dialplan_xml.c:117 parse_exten() Regex: [public_extensions] destination_number(3001)
=~ /^(10[01][0-9])$/
2009-04-16 09:50:58 [DEBUG] mod_dialplan_xml.c:119 parse_exten() Regex mismatch
--
so I've put this in dialplan/public.xml:
<extension name="public_conferences">
<condition field="destination_number" expression="^(3[0-9][0-9][0-9])$">
<action application="transfer" data="$1 XML default"/>
</condition>
</extension>
Now it accepts the call:
--
2009-04-16 09:54:28 [INFO] mod_dialplan_xml.c:233 dialplan_hunt() Processing 0XXXXXXXXXXX->3001 in context public
2009-04-16 09:54:28 [DEBUG] mod_dialplan_xml.c:117 parse_exten() Regex: [public_conferences]
destination_number(3001) =~ /^(3[0-9][0-9][0-9])$/
2009-04-16 09:54:28 [DEBUG] switch_core_state_machine.c:100 switch_core_standard_on_routing()
(sofia/external/0XXXXXXXXXXX at sipgate.co.uk) State Change CS_ROUTING -> CS_EXECUTE
--
Don't get any audio at the moment, but I think that's a separate problem.
Thanks for the tip,
Antony.
On Wednesday 15 April 2009 16:24:45 Brian West wrote:
> Press F8 and try again... With debug cranked up you'll see more details.
>
> On Apr 15, 2009, at 10:10 AM, Antony King wrote:
> > sumably there's some difference between calls coming in via a
> > gateway and localy generated calls; could someone give me some
> > pointers as to how to get it to accept the call ?
>
> Brian West
> brian at freeswitch.org
>
> -- Meet us at ClueCon! http://www.cluecon.com
--
Antony King - 01908 268 901
Systems Consultant
SolutionTrax Technologies - http://www.solutiontrax.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090416/da0c860f/attachment-0002.html
More information about the FreeSWITCH-users
mailing list