[Freeswitch-users] Simple gateway config
Simon Shaw
sshaw at interwise.com
Thu Jul 31 06:55:22 PDT 2008
I am running FS of a windows box IP 10.10.4.204 and have successfully
managed to demo most of the default features.
I attempted to extend the configuration by adding a gateway as follows
in $(prefix)\conf\dialplan\default.xml, where 10.10.7.95 is the address
of a working asterisk test box I have setup (I ran the reloadxml
command from the console after updating the file):
<!-- Forward any 5 digit number starting with 5 to the Staging
asterisk box -->
<extension name="Staging">
<condition field="destination_number" expression="^5d{4}$">
<action application="bridge"
data="sofia/${use_profile}/$1 at 10.10.7.95"/>
</condition>
</extension>
When I dial 58661 (8661 being the extension of a working phone on the
asterisk box) I get the following traces in the console, however no
INVITE message is sent to 10.10.7.95.
2008-07-31 16:50:44 [NOTICE] switch_channel.c:534
switch_channel_set_name() New Channel sofia/internal/1000 at 10.10.4.204
[54b22243-26c5
-1c41-a59d-27ae7547df1e]
2008-07-31 16:50:44 [INFO] mod_dialplan_xml.c:222 dialplan_hunt()
Processing Simon FS->58661 at default
2008-07-31 16:50:45 [NOTICE] switch_ivr.c:1097
switch_ivr_session_transfer() Transfer sofia/internal/1000 at 10.10.4.204
to enum[58661 at default]
2008-07-31 16:50:55 [INFO] switch_core_state_machine.c:114
switch_core_standard_on_routing() No Route, Aborting
2008-07-31 16:50:55 [NOTICE] switch_core_state_machine.c:115
switch_core_standard_on_routing() Hangup sofia/internal/1000 at 10.10.4.204
[CS_ROUTING] [NO_ROUTE_DES
TINATION]
2008-07-31 16:50:55 [NOTICE] switch_core_session.c:807
switch_core_session_thread() Session 45
(sofia/internal/1000 at 10.10.4.204) Ended
2008-07-31 16:50:55 [NOTICE] switch_core_session.c:809
switch_core_session_thread() Close Channel
sofia/internal/1000 at 10.10.4.204 [CS_HANGUP]
What am I missing,
Thanks,
Simon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080731/c6b3b3f4/attachment-0002.html
More information about the FreeSWITCH-users
mailing list