Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

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

[Freeswitch-users] another 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
jason at jasonjgw.net
Guest





PostPosted: Mon Dec 22, 2008 11:13 pm    Post subject: [Freeswitch-users] another switch_ivr_set_user() can't find Reply with quote

On Mon, Dec 22, 2008 at 08:10:00PM -0500, John Wehle wrote:
Quote:
I'm interested in moving some VoIP phones I'm playing with to a different
set of network numbers for various internal reasons. However, I'm not
looking for multiple FreeSWITCH domains ... I just want one. Here's what
I did:

1) On the FreeSWITCH box created a logical network interface and assigned
it a number from the new set of network numbers.

2) Changed rtp-ip and sip-ip in internal.xml to use the number assigned
to the logical network interface.

3) Per the FAQ set force-register-domain and force-register-db-domain in
internal.xml to the value for domain in vars.xml (i.e. the main local
ip v4 address of the FreeSWITCH machine).

4) Changed the VoIP phone to use a number from the new set.


All fine so far.
Quote:
When I place a call from the VoIP phone FreeSWITCH complains:

[WARNING] switch_ivr.c:1941 switch_ivr_set_user() can't find user
[default@192.168.14.10]

where 192.168.14.10 is the number assigned to the logical interface,
however the call goes through / everything seems to work.

Somewhere in your dial plan, the set_user application is being called with
the above user and domain as parameter.

http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_set_user

The logs should show you which extensions are being executed in the dial plan
so you can work out how it reached this point and why it's invoking set_user
there. Basically, work through the logic of your dial plan to find out why
this is happening.

I'm sure others will have more specific advice, but, basically, it has to do
with the details of how your dial plan is configured.


_______________________________________________
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
brian at freeswitch.org
Guest





PostPosted: Tue Dec 23, 2008 10:16 am    Post subject: [Freeswitch-users] another switch_ivr_set_user() can't find Reply with quote

You don't have a default user in domain 192.168.14.10, in the default config I used this so that you can set some vars on every call with one call to set_user and it would set all the vars from the default user on the current session. Its best to rip it out the set_user call if you have modified things.

/b

On Dec 22, 2008, at 10:12 PM, Jason White wrote:
Quote:
All fine so far.
Quote:
When I place a call from the VoIP phone FreeSWITCH complains:

[WARNING] switch_ivr.c:1941 switch_ivr_set_user() can't find user
[default@192.168.14.10 (default@192.168.14.10)]

where 192.168.14.10 is the number assigned to the logical interface,
however the call goes through / everything seems to work.

Somewhere in your dial plan, the set_user application is being called with
the above user and domain as parameter.

http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_set_user

The logs should show you which extensions are being executed in the dial plan
so you can work out how it reached this point and why it's invoking set_user
there. Basically, work through the logic of your dial plan to find out why
this is happening.

I'm sure others will have more specific advice, but, basically, it has to do
with the details of how your dial plan is configured.
Back to top
jason at jasonjgw.net
Guest





PostPosted: Tue Dec 23, 2008 6:27 pm    Post subject: [Freeswitch-users] another switch_ivr_set_user() can't find Reply with quote

On Tue, Dec 23, 2008 at 05:51:38PM -0500, John Wehle wrote:

Quote:
It looks like the domain is coming from set_domain in default.xml
which gets it from sip_auth_realm. I guess the question is if
force-register-domain is being used then:

a) Should sip_auth_realm be set by FreeSWITCH to the value associated
with force-register-domain

b) or should set_domain in default.xml simply check for force-register-domain

As I understand it, that's a choice you need to make in designing your dial
plan.

I'm currently confronted with the same issue and, being new to FreeSWITCH, I'm
not sure what would be the best solution.

In my case, there is a SIP phone that needs to contact FreeSWITCH by its IPv4
address - there's no A record for the FreeSWITCH box, and the address is
192.168.0.2 on the local LAN. The FreeSWITCH machine does have an AAAA record
in DNS, so any incoming IPv6 call will address it by its fully-qualified
domain name. Not surprisingly, the logic in the supplied external.xml dialplan
configuration results in IPv6 incoming calls to local extensions failing, due
to the wrong domain name, after the transfer to default.xml when the bridge
application is executed. By default, of course, the domain is the IPv4
address, which is fine for IPv4 calls.

There are ways around this, of course, but I haven't worked out what would be
the best to implement.


_______________________________________________
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
brian at freeswitch.org
Guest





PostPosted: Tue Dec 23, 2008 6:35 pm    Post subject: [Freeswitch-users] another switch_ivr_set_user() can't find Reply with quote

The default is just an example that tries to get you started... the
key thing you need to remember for ALL calls coming in that aren't
authenticated the domain_name variable needs to be set before you
transfer into the default context.

/b

On Dec 23, 2008, at 5:27 PM, Jason White wrote:

Quote:

There are ways around this, of course, but I haven't worked out what
would be
the best to implement.


_______________________________________________
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