I will send a request to Asterisk mailing list or forum this weekend.

 

From: Maxim Solodovnik [mailto:solomax...@gmail.com] 
Sent: Thursday, August 21, 2014 6:19 AM
To: Openmeetings user-list
Subject: Re: Modified instrctions for VOIP intergration in Openmeetings 3.0

 

Maybe asterisk has mailing list we can ask?

 

On 21 August 2014 19:34, Horace Miles <horace.mi...@myit-solutions.com> wrote:

Maxim, 

 

Thanks but I didn’t know any other way to initialize the astDB database table.  
If you know of a better way, we can do it that way.  The only other alternative 
I could see was to start from scratch, which I really did not want to do.

 

Miles

 

From: Maxim Solodovnik [mailto:solomax...@gmail.com] 
Sent: Wednesday, August 20, 2014 7:39 AM
To: Openmeetings user-list
Subject: Re: Modified instrctions for VOIP intergration in Openmeetings 3.0

 

I have updated docs, but I don't really like the idea to modify the asterisk 
key/value DB manually

 

On 18 August 2014 20:39, Horace Miles <horace.mi...@myit-solutions.com> wrote:

Maxim, 

Thanks for all your help I have gotten everything to 3.0 VOIP and SIP 
integration to work.

 

I believe if the documentation is changed as follows:

 

Add the following comment section above the room extensions entry:

; *****************************************************

; The below dial plan is used to dial into a Openmeetings Conference room

; The first line DB_EXISTS(openmeetings/room/ does not belong to the 
openmeetings application but is the name of astDB containing the astDB 
family/key pair and values 

; To Check if your astDB has been created do the following in a terminal window 
type the following:

; asterisk –rx “database show”

; If you do not receive an output with that resembles openmeetings/rooms/400## 
where “##” will equal the extension assigned when you created your room

; If you do not receive the above output check your parameters in 
/opt/red5/webapps/openmeetings/WEB-INF/classes/openmeetings-applicationContext.xml

;If your parameters are correct and you still do not have the correct output 
from “asterisk –rx “database show” the astdb may not have been updated.  Do the 
following

;In a terminal windows type the following command:  Asterisk –rx “database put 
openmeetings/rooms 4000” Note: the value 4000 is used because the system will 
not create an extension with this value.

;Go back into the Administrator Panel and remove the PIN number in each room 
save the record with no PIN number and then re-enter the pin again resave the 
record.

; Recheck asterisk –rx “database show”.  The proper entries should now be in 
the astDB table.

;

; *****************************************************

 

[rooms]

exten => 
_400X!,1,GotoIf($[${DB_EXISTS(openmeetings/rooms/${EXTEN})}]?ok:notavail)

exten => _400X!,n(ok),SET(PIN=${DB(openmeetings/rooms/${EXTEN})})

exten => _400X!,n,Set(CONFBRIDGE(user,template)=sip_user)

exten => _400X!,n,Set(CONFBRIDGE(user,pin)=${PIN})

exten => _400X!,n(ok),Confbridge(${EXTEN},default_bridge,)

exten => _400X!,n,Hangup

exten => _400X!,n(notavail),Answer()

exten => _400X!,n,Playback(invalid)

exten => _400X!,n,Hangup

 

[rooms-originate]

exten => _400X!,1,Confbridge(${EXTEN},default_bridge,sip_user)

exten => _400X!,n,Hangup

 

[rooms-out]

; *****************************************************

; Extensions for outgoing calls from Openmeetings room.

; *****************************************************

 

[rooms-red5sip]

exten => 
_400X!,1,GotoIf($[${DB_EXISTS(openmeetings/rooms/${EXTEN})}]?ok:notavil)

exten => _400X!,n(ok),Confbridge(${EXTEN},default_bridge,red5sip_user)

exten => _400X!,n(notavail),Hangup

 





 

-- 
WBR
Maxim aka solomax 





 

-- 
WBR
Maxim aka solomax 

Reply via email to