context in IAX2 connections

ericng

Joined
May 14, 2008
Messages
78
Likes
0
Points
0
#1
I am having IAX2 connection to connect two Elastix servers via the following:

Server 1:
host=192.168.1.28 // @IP server 2
type=friend
qualify=yes
context=dnid-custom3



Server 2:
host=192.168.1.38 // @IP server 1
type=friend
qualify=yes
context=dnid-custom3


How can I make sure that calls redirected from server 1 to server 2 will go through a predefined context as I need to set some global variable in server 2 to enable Asterisk Desktop Manager to utilise that variable.


Thanks and Regards,

Eric
 

rafael

Joined
May 14, 2007
Messages
1,454
Likes
1
Points
0
#2
As far I can see you are using context dnid-custom3. Calls are going to use that context when they get into the PBX.

Regards,

RAfael
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,913
Messages
130,917
Members
17,589
Latest member
cristian.saiz
Top