<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
Hello,<br>
<br>
I have setup Freeswitch with xml_curl and provide configs almost
identical to the local xml files. I can call external gateways, however
when I call a local phone, I cannot connect and it drops me to the VM
of the phone.<br>
<br>
2008-09-24 23:30:55 [DEBUG] switch_core_state_machine.c:140
switch_core_standard_on_execute()
<a class="moz-txt-link-abbreviated" href="mailto:sofia/internal/1002@siplocal.my.domain">sofia/internal/1002@siplocal.my.domain</a> Execute
db(insert/last_dial_ext/${dialed_ext}/${uuid})<br>
2008-09-24 23:30:55 [DEBUG] switch_core_session.c:1053
switch_core_session_execute_application()
<a class="moz-txt-link-abbreviated" href="mailto:sofia/internal/1002@siplocal.my.domain">sofia/internal/1002@siplocal.my.domain</a> Expanded String
db(insert/last_dial_ext/1003/1078c6e4-8a80-11dd-8aeb-2f433e89ec8c)<br>
2008-09-24 23:30:55 [DEBUG] switch_core_state_machine.c:140
switch_core_standard_on_execute()
<a class="moz-txt-link-abbreviated" href="mailto:sofia/internal/1002@siplocal.my.domain">sofia/internal/1002@siplocal.my.domain</a> Execute
bridge(user/${<a class="moz-txt-link-abbreviated" href="mailto:dialed_ext}@siplocal.my.domain">dialed_ext}@siplocal.my.domain</a>)<br>
2008-09-24 23:30:55 [DEBUG] switch_core_session.c:1053
switch_core_session_execute_application()
<a class="moz-txt-link-abbreviated" href="mailto:sofia/internal/1002@siplocal.my.domain">sofia/internal/1002@siplocal.my.domain</a> Expanded String <b>bridge(<a class="moz-txt-link-abbreviated" href="mailto:user/1003@siplocal.my.domain">user/1003@siplocal.my.domain</a>)</b><br>
2008-09-24 23:30:56 [ERR] mod_dptools.c:1957 user_outgoing_channel() <b>No
dial-string available, please check your user directory.</b><br>
2008-09-24 23:30:56 [ERR] switch_ivr_originate.c:926
switch_ivr_originate() Cannot create outgoing channel of type [user]
cause: <b>[MANDATORY_IE_MISSING]</b><br>
2008-09-24 23:30:56 [DEBUG] switch_ivr_originate.c:1404
switch_ivr_originate() Originate Resulted in <b>Error Cause: 96
[MANDATORY_IE_MISSING]</b><br>
2008-09-24 23:30:56 [INFO] mod_dptools.c:1794 audio_bridge_function()
Originate Failed. Cause: MANDATORY_IE_MISSING<br>
<br>
Boths phones 1002 and 1003 are successfully registered in the internal
context. I can call external numbers and internal numbers like VMs,
conferences etc. When I use the local xml config files it works. The
only thing I see is different, is that the external dialplan is a
subset of the original dialplan.<br>
<br>
What can be the cause for this error message? The bridge string seems
ok for me and is the same as when I call with local config files.<br>
<br>
When I regard the log I see the following: So this should be fine. <br>
<app_log><br>
<application app_name="set"
app_data="use_profile=nat"></application><br>
<application app_name="set_user"
app_data=<a class="moz-txt-link-rfc2396E" href="mailto:default@siplocal.my.domain">"default@siplocal.my.domain"</a>></application><br>
<application app_name="set"
app_data="sip_secure_media=true"></application><br>
<application app_name="db"
app_data="insert/spymap/1002/edaeda08-8a85-11dd-a728-e3e019d7122d"></application><br>
<application app_name="db"
app_data="insert/last_dial/1002/1003"></application><br>
<application app_name="db"
app_data="insert/last_dial/global/edaeda08-8a85-11dd-a728-e3e019d7122d"></application><br>
<application app_name="set"
app_data="dialed_ext=1003"></application><br>
<application app_name="export"
app_data="dialed_ext=1003"></application><br>
<application app_name="bind_meta_app" app_data="1 b s
execute_extension::dx XML features"></application><br>
<application app_name="bind_meta_app" app_data="2 b s
record_session::/usr/local/freeswitch/recordings/1002.2008-09-25-00-12-51.wav"></application><br>
<application app_name="bind_meta_app" app_data="3 b s
execute_extension::cf XML features"></application><br>
<application app_name="set" app_data="transfer_ringback=%(2000,
4000, 440.0, 480.0)"></application><br>
<application app_name="set"
app_data="call_timeout=30"></application><br>
<application app_name="set"
app_data="hangup_after_bridge=true"></application><br>
<application app_name="set"
app_data="continue_on_fail=true"></application><br>
<application app_name="db"
app_data="insert/call_return/1003/1002"></application><br>
<application app_name="db"
app_data="insert/last_dial_ext/1003/edaeda08-8a85-11dd-a728-e3e019d7122d"></application><br>
<application app_name="bridge"
app_data=<a class="moz-txt-link-rfc2396E" href="mailto:user/1003@siplocal.my.domain">"user/1003@siplocal.my.domain"</a>></application><br>
</app_log><br>
<callflow dialplan="XML" profile_index="1"><br>
<extension name="global" number="1003" current_app="answer"><br>
<application app_name="set"
app_data="use_profile=${cond(${acl(${network_addr} rfc1918)} == true ?
nat : default)}"></application><br>
<application app_name="set_user"
app_data="default@${domain}"></application><br>
<application app_name="set"
app_data="sip_secure_media=true"></application><br>
<application app_name="db"
app_data="insert/spymap/${caller_id_number}/${uuid}"></application><br>
<application app_name="db"
app_data="insert/last_dial/${caller_id_number}/${destination_number}"></application><br>
<application app_name="db"
app_data="insert/last_dial/global/${uuid}"></application><br>
<application app_name="set"
app_data="dialed_ext=1003"></application><br>
<application app_name="export"
app_data="dialed_ext=1003"></application><br>
<application app_name="bind_meta_app" app_data="1 b s
execute_extension::dx XML features"></application><br>
<application app_name="bind_meta_app" app_data="2 b s
record_session::/usr/local/freeswitch/recordings/${caller_id_number}.${strftime(%Y-%m-%d-%H-%M-%S)}.wav"></application><br>
<application app_name="bind_meta_app" app_data="3 b s
execute_extension::cf XML features"></application><br>
<application app_name="set"
app_data="transfer_ringback=${us-ring}"></application><br>
<application app_name="set"
app_data="call_timeout=30"></application><br>
<application app_name="set"
app_data="hangup_after_bridge=true"></application><br>
<application app_name="set"
app_data="continue_on_fail=true"></application><br>
<application app_name="db"
app_data="insert/call_return/${dialed_ext}/${caller_id_number}"></application><br>
<application app_name="db"
app_data="insert/last_dial_ext/${dialed_ext}/${uuid}"></application><br>
<application app_name="bridge"
app_data=<a class="moz-txt-link-rfc2396E" href="mailto:user/${dialed_ext}@siplocal.my.domain">"user/${dialed_ext}@siplocal.my.domain"</a>></application><br>
<application last_executed="true" app_name="answer"
app_data=""></application><br>
<application app_name="sleep"
app_data="1000"></application><br>
<application app_name="voicemail" app_data="default
siplocal.my.domain ${dialed_ext}"></application><br>
</extension><br>
<caller_profile><br>
<username>1002</username><br>
<dialplan>XML</dialplan><br>
<caller_id_name>Freeswitch1002</caller_id_name><br>
<ani></ani><br>
<aniii></aniii><br>
<caller_id_number>1002</caller_id_number><br>
<network_addr>192.168.178.1</network_addr><br>
<rdnis></rdnis><br>
<destination_number>1003</destination_number><br>
<uuid>edaeda08-8a85-11dd-a728-e3e019d7122d</uuid><br>
<source>mod_sofia</source><br>
<context>default</context><br>
<chan_name><a class="moz-txt-link-abbreviated" href="mailto:sofia/internal/1002@siplocal.my.domain">sofia/internal/1002@siplocal.my.domain</a></chan_name><br>
<originatee><br>
<originatee_caller_profile><br>
<username>1002</username><br>
<dialplan>XML</dialplan><br>
<caller_id_name>Extension 1002</caller_id_name><br>
<ani></ani><br>
<aniii></aniii><br>
<caller_id_number>1002</caller_id_number><br>
<network_addr>192.168.178.1</network_addr><br>
<rdnis></rdnis><br>
<destination_number><a class="moz-txt-link-abbreviated" href="mailto:1003@192.168.178.1:2127;transport=tls;fs_nat=yes">1003@192.168.178.1:2127;transport=tls;fs_nat=yes</a></destination_number><br>
<uuid>ee27aaa0-8a85-11dd-a728-e3e019d7122d</uuid><br>
<source>mod_sofia</source><br>
<context>default</context><br>
<chan_name><a class="moz-txt-link-abbreviated" href="mailto:sofia/internal/1003@192.168.178.1:2127;transport=tls;fs_nat=yes">sofia/internal/1003@192.168.178.1:2127;transport=tls;fs_nat=yes</a></chan_name><br>
</originatee_caller_profile><br>
<originatee_caller_profile><br>
<username>1002</username><br>
<dialplan>XML</dialplan><br>
<caller_id_name>Extension 1002</caller_id_name><br>
<ani></ani><br>
<aniii></aniii><br>
<caller_id_number>1002</caller_id_number><br>
<network_addr>192.168.178.1</network_addr><br>
<rdnis></rdnis><br>
<destination_number><a class="moz-txt-link-abbreviated" href="mailto:1003@192.168.178.1:2127;transport=tls;fs_nat=yes">1003@192.168.178.1:2127;transport=tls;fs_nat=yes</a></destination_number><br>
<uuid>ee27aaa0-8a85-11dd-a728-e3e019d7122d</uuid><br>
<source>mod_sofia</source><br>
<context>default</context><br>
<chan_name><a class="moz-txt-link-abbreviated" href="mailto:sofia/internal/1003@192.168.178.1:2127;transport=tls;fs_nat=yes">sofia/internal/1003@192.168.178.1:2127;transport=tls;fs_nat=yes</a></chan_name><br>
</originatee_caller_profile><br>
</originatee><br>
</caller_profile><br>
<times><br>
<created_time>1222294371386160</created_time><br>
<profile_created_time>1222294371386160</profile_created_time><br>
<progress_time>1222294372279689</progress_time><br>
<progress_media_time>0</progress_media_time><br>
<answered_time>1222294372411530</answered_time><br>
<hangup_time>1222294374190141</hangup_time><br>
<transfer_time>0</transfer_time><br>
</times><br>
</callflow><br>
<app_log><br>
<application app_name="set"
app_data="dialed_ext=1003"></application><br>
<application app_name="export"
app_data="dialed_ext=1003"></application><br>
<application app_name="bind_meta_app" app_data="1 b s
execute_extension::dx XML features"></application><br>
<application app_name="bind_meta_app" app_data="2 b s
record_session::/usr/local/freeswitch/recordings/1002.2008-09-25-00-16-22.wav"></application><br>
<application app_name="bind_meta_app" app_data="3 b s
execute_extension::cf XML features"></application><br>
<application app_name="set" app_data="transfer_ringback=%(2000,
4000, 440.0, 480.0)"></application><br>
<application app_name="set"
app_data="call_timeout=30"></application><br>
<application app_name="set"
app_data="hangup_after_bridge=true"></application><br>
<application app_name="set"
app_data="continue_on_fail=true"></application><br>
<application app_name="db"
app_data="insert/call_return/1003/1002"></application><br>
<application app_name="db"
app_data="insert/last_dial_ext/1003/69a1337c-8a86-11dd-97c6-c70d0d682f22"></application><br>
<application app_name="bridge"
app_data=<a class="moz-txt-link-rfc2396E" href="mailto:user/1003@siplocal.my.domain">"user/1003@siplocal.my.domain"</a>></application><br>
<application app_name="answer"
app_data=""></application><br>
<application app_name="sleep"
app_data="1000"></application><br>
<application app_name="voicemail" app_data="default
siplocal.my.domain 1003"></application><br>
</app_log><br>
<callflow dialplan="XML" profile_index="1"><br>
<extension name="Local_Extension" number="1003"><br>
<application app_name="set"
app_data="dialed_ext=1003"></application><br>
<application app_name="export"
app_data="dialed_ext=1003"></application><br>
<application app_name="bind_meta_app" app_data="1 b s
execute_extension::dx XML features"></application><br>
<application app_name="bind_meta_app" app_data="2 b s
record_session::/usr/local/freeswitch/recordings/${caller_id_number}.${strftime(%Y-%m-%d-%H-%M-%S)}.wav"></application><br>
<application app_name="bind_meta_app" app_data="3 b s
execute_extension::cf XML features"></application><br>
<application app_name="set"
app_data="transfer_ringback=${us-ring}"></application><br>
<application app_name="set"
app_data="call_timeout=30"></application><br>
<application app_name="set"
app_data="hangup_after_bridge=true"></application><br>
<application app_name="set"
app_data="continue_on_fail=true"></application><br>
<application app_name="db"
app_data="insert/call_return/${dialed_ext}/${caller_id_number}"></application><br>
<application app_name="db"
app_data="insert/last_dial_ext/${dialed_ext}/${uuid}"></application><br>
<application app_name="bridge"
app_data=<a class="moz-txt-link-rfc2396E" href="mailto:user/${dialed_ext}@siplocal.my.domain">"user/${dialed_ext}@siplocal.my.domain"</a>></application><br>
<application app_name="answer"
app_data=""></application><br>
<application app_name="sleep"
app_data="1000"></application><br>
<application app_name="voicemail" app_data="default
siplocal.my.domain ${dialed_ext}"></application><br>
</extension><br>
<caller_profile><br>
<username>1002</username><br>
<dialplan>XML</dialplan><br>
<caller_id_name>Freeswitch1002</caller_id_name><br>
<ani></ani><br>
<aniii></aniii><br>
<caller_id_number>1002</caller_id_number><br>
<network_addr>192.168.178.1</network_addr><br>
<rdnis></rdnis><br>
<destination_number>1003</destination_number><br>
<uuid>69a1337c-8a86-11dd-97c6-c70d0d682f22</uuid><br>
<source>mod_sofia</source><br>
<context>default</context><br>
<chan_name><a class="moz-txt-link-abbreviated" href="mailto:sofia/internal/1002@siplocal.my.domain">sofia/internal/1002@siplocal.my.domain</a></chan_name><br>
</caller_profile><br>
<times><br>
<created_time>1222294579335872</created_time><br>
<profile_created_time>1222294579335872</profile_created_time><br>
<progress_time>0</progress_time><br>
<progress_media_time>0</progress_media_time><br>
<answered_time>1222294583270171</answered_time><br>
<hangup_time>1222294586861282</hangup_time><br>
<transfer_time>0</transfer_time><br>
</times><br>
</callflow><br>
<br>
<br>
Best regards<br>
Peter<br>
<br>
<br>
<br>
<br>
<br>
</body>
</html>