Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] switch_ivr_set_user() can't find user


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
john at feith.com
Guest





PostPosted: Tue Nov 25, 2008 8:07 pm    Post subject: [Freeswitch-users] switch_ivr_set_user() can't find user Reply with quote

I can call between VoIP phone ext 1001 and 1003 fine. I can call
from VoIP phone ext 1003 over a winkstart line into the PBX fine.
Before updating to the current SVN I could also call from the PBX
over a winkstart line to VoIP ext 1003 fine. Now what I see is:

[NOTICE] switch_channel.c:551 switch_channel_set_name() New Channel OpenZAP/4:1/1003 [d99f59f2-52bb-dd11-80a4-001fc6ab49e2]
[WARNING] switch_ivr.c:1832 switch_ivr_set_user() can't find user [default@]
[WARNING] mod_dptools.c:2024 user_outgoing_channel() Can't find user [1003@]
[ERR] switch_ivr_originate.c:1067 switch_ivr_originate() Can not create outgoing channel of type [user] cause: [SUBSCRIBER_ABSENT]

It appears openzap sees the request from the PBX fine ... somehow
FreeSWITCH can't connect the openzap inbound call to 1003 with the
VoIP phone on ext 1003.

Suggestions / pointers?

-- John
-------------------------------------------------------------------------
| Feith Systems | Voice: 1-215-646-8000 | Email: john@feith.com |
| John Wehle | Fax: 1-215-540-5495 | |
-------------------------------------------------------------------------


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
john at feith.com
Guest





PostPosted: Tue Nov 25, 2008 8:54 pm    Post subject: [Freeswitch-users] switch_ivr_set_user() can't find user Reply with quote

Quote:
make sure you have the domain_name variable set so the call can go to
the right domain name.

Set where? I'm pretty much using the stock sample files. vars.xml contains:

<X-PRE-PROCESS cmd="set" data="domain=$${local_ip_v4}"/>

It was my understanding that domain defaults to the IP address of the
server's interface.

openzap.conf.xml contains:

<param name="context" value="default"/>

in each of the analog_spans / analog_em_spans. Is something else needed
to specify the domain for processing inbound openzap calls?

-- John
-------------------------------------------------------------------------
| Feith Systems | Voice: 1-215-646-8000 | Email: john@feith.com |
| John Wehle | Fax: 1-215-540-5495 | |
-------------------------------------------------------------------------


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
john at feith.com
Guest





PostPosted: Tue Nov 25, 2008 9:44 pm    Post subject: [Freeswitch-users] switch_ivr_set_user() can't find user Reply with quote

Quote:
No domain != domain_name they are different.

Well ... yes and no. default.xml has:

<extension name="set_domain" continue="true">
<condition field="${domain_name}" expression="^$"/>
<condition field="source" expression="mod_sofia"/>
<condition field="${sip_auth_realm}" expression="^$">
<action application="set" data="domain_name=$${domain}"/>
<anti-action application="set" data="domain_name=${sip_auth_realm}"/>
</condition>
</extension>

so it seems that it's intended for domain_name to equal domain if
a realm isn't supplied. If I use:

<extension name="set_domain" continue="true">
<condition field="${domain_name}" expression="^$"/>
<condition field="source" expression="mod_sofia">
<action application="set" data="domain_name=${sip_auth_realm}"/>
<anti-action application="set" data="domain_name=$${domain}"/>
</condition>
</extension>

then things work.

Thoughts:

1) It may be desirable to be able to specify the domain associated with
an openzap line in the openzap.conf.xml file.

2) The comment by set_domain says:

<!--
Try to get the domain from the sip_auth_realm otherwise it will
default domain in vars.xml for cases it can't figure it out.

-->

However it appears that the logic is wrong. It fails to handle
cases where the source isn't mod_sofia.

What JIRA category should I file this under?

-- John
-------------------------------------------------------------------------
| Feith Systems | Voice: 1-215-646-8000 | Email: john@feith.com |
| John Wehle | Fax: 1-215-540-5495 | |
-------------------------------------------------------------------------


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
john at feith.com
Guest





PostPosted: Tue Nov 25, 2008 10:05 pm    Post subject: [Freeswitch-users] switch_ivr_set_user() can't find user Reply with quote

Quote:
This is the key to why its not working source is mod_openzap so might

Yes ... I understand that. I'm pretty much running the supplied sample
configuration which apparently doesn't handle openzap. Is there a
specific JIRA category I should use to log this issue? I took a quick
glance and wasn't sure what to use.

-- John
-------------------------------------------------------------------------
| Feith Systems | Voice: 1-215-646-8000 | Email: john@feith.com |
| John Wehle | Fax: 1-215-540-5495 | |
-------------------------------------------------------------------------


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services