Yes, I saw that after send that email.
This is the corrected one
?xml version=1.0 encoding=UTF-8 standalone=no?
document type=freeswitch/xml
section name=directory
domain name=200.49.25.11
params
param name=dial-string
value={presence_id=${dialed_us...@${dialed_domain},transfer
_fallback_extension=${dialed_user}}${sofia_contact(${dialed_user}@
${dialed_domain})}/
/params
groups
group name=default
users
user id=5000
params
param name=password value=5000/
param name=vm-password value=5000/
/params
variables
variable name=sip-force-contact
value=NDLB-connectile-dysfunction/
variable name=user_context value=default/
/variables
/user
/users
/group
/groups
/domain
/section
/document
And the dial plan:
document type=freeswitch/xml
section name=dialplan description=default
context name=default
extension name=llamando
condition field=destination_number expresion=^5000$
action application=bridge data=user/5000/
/condition
/extension
/context
/section
/document
I tried with:
action application=bridge data=user/5000/
action application=bridge data=user/5...@200.49.25.11/
action application=bridge data=user/5000%200.49.25.11/
The console is the same:
2009-04-22 18:00:28 [INFO] mod_dialplan_xml.c:233 dialplan_hunt() Processing
1000-5000 in context default
2009-04-22 18:00:28 [ERR] switch_xml.c:1532 switch_xml_locate() Error[[error
near line 1]: root tag missing]
2009-04-22 18:00:28 [WARNING] mod_dptools.c:2171 user_outgoing_channel()
Can't find user [5...@200.49.25.11]
2009-04-22 18:00:28 [ERR] switch_ivr_originate.c:1116 switch_ivr_originate()
Cannot create outgoing channel of type [user] cause: [SUBSCRIBER_ABSENT]
2009-04-22 18:00:28 [INFO] mod_dptools.c:1909 audio_bridge_function()
Originate Failed. Cause: SUBSCRIBER_ABSENT
2009-04-22 18:00:28 [NOTICE] mod_dptools.c:1936 audio_bridge_function()
Hangup sofia/internal/1...@200.49.25.11 [CS_EXECUTE] [SUBSCRIBER_ABSENT]
2009-04-22 18:00:28 [NOTICE] switch_core_session.c:957
switch_core_session_thread() Session 17 (sofia/internal/1...@200.49.25.11)
Ended
2009-04-22 18:00:28 [NOTICE] switch_core_session.c:959
switch_core_session_thread() Close Channel
sofia/internal/1...@200.49.25.11[cs_hangup]
2009-04-22 18:00:52 [NOTICE] switch_channel.c:565 switch_channel_set_name()
New Channel
sofia/internal/1...@200.49.25.11[a9e8b0d2-2f80-11de-90e9-8b6680def56e]
also i was trying with the dialplan hardcode in
/usr/local/freeswitch/conf/dialplan/default.xml.
Thanks in advance.
On Wed, Apr 22, 2009 at 3:03 PM, Michael Jerris m...@jerris.com wrote:
$${domain} (or any other preprocessor vars) will not be expanded on an
xml_curl return.
Mike
On Apr 22, 2009, at 12:31 PM, JuanMa wrote:
Peter Thanks for your reply:
I did what you said but FS still with the same problem, cant found the
user.
This is my reply to registration request
?xml version=1.0 encoding=UTF-8 standalone=no?
document type=freeswitch/xml
section name=directory
domain name=$${domain}
params
param name=dial-string
value={presence_id=${dialed_us...@$
{dialed_domain},transfer_fallback_extension=${dialed_user}}$
{sofia_contact(${dialed_us...@${dialed_domain})}/
/params
groups
group name=default
users
user id=5000
params
param
name=password value=5000/
param
name=vm-password value=5000/
/params
variables
variable
name=sip-force-contact value=NDLB-
connectile-dysfunction/
variable
name=user_context value=default/
/variables
/user
/users
/group
/groups
/domain
/section
/document
I have made some changes but the result is the same, the registration
is ok.
My dial plan reply, call from user 1000 to user 5000 registered
through xml_curl
document type=freeswitch/xml
section name=dialplan description=default
context name=default
extension name=llamando
condition field=destination_number
expresion=^5000$
action application=bridge
data=user/5000/
/condition
/extension
/context
/section
/document
console returns: