doamin_name in preinstalled dialplans

Status
Not open for further replies.

Afshin Afzali

New Member
Jun 3, 2017
13
1
3
58
Hi Folks,
I was wondering if I know where domain_name variable is supposed to be set in preinstalled dialplans in case of local calls? Considering user_exists & local_extension dialplans, no where it is set! (except in case of loopback_leg = B in user_exists). It causes that user_exists set to false and local_extension fails to connect to the destination.

Best,
Afshin
 

Adrian Fretwell

Well-Known Member
Aug 13, 2017
1,417
376
83
${domain_name} is a channel variable. user_exists is a global dialplan used by all domains. The domain_name variable is set from the context.

If user_exists is returning false, then look closely at what the call is asking for, double check that the user (extension) does actually exist within the context (domain) for the call.
 

Afshin Afzali

New Member
Jun 3, 2017
13
1
3
58
I did actually. I have a few deployment out there and just the most recent one version is ok. The previous ones have this issue. I have searched many of the involved dialplans to find where this channel variable is set. As far as I know this variable just used in dialplans and never set by any of freeswitch's core / modules!
 
Status
Not open for further replies.