Hello Users, Good Morning, I'm doing on Conference Bridge with Asterisk + OpenSER with CBMySql modules. And I'm not Using the Zapptel Cards.
9001 ----------> dial 19001(conference Users)-------openSER ---------> Asterisk ------------------------------------------------------------------------ *In Extension.conf * [from-sip] exten => 19001,1,Playback(conf-hasentered) ;exten => 19001,2,Answer exten => 19001,2,Wait(2) exten => 19001,3,CBMysql()
exten => 19002,1,Playback(conf-hasentered) ;exten => 19002,,Answer exten => 19002,2,Wait(2) exten => 19002,3,MeetMe(1234|pm) exten => 19003,1,Playback(conf-hasentered) ;exten => 19003,2,Answer exten => 19003,2,Wait(2) exten => 19003,3,MeetMe(1234|pm) ------------------------------------------------------------------------ * In cbmysql.conf* [global] hostname=localhost dbname=conference password= user=root port=3306 sock=/var/lib/mysql/mysql.sock DBOpts=yes ;OptsAdm=asdp ;OptsUsr=sdp ConfApp=MeetMe ConfAppCount=MeetMeCount ; Choose one of the following to modify early join behaviour earlyalert=300 ; Tell the participant if they are too early (seconds) ;fuzzystart= ; Allow participants to join early (seconds) ------------------------------------------------------------------------
* In sip.conf *[19001] type=friend username=9001 secret=august context=from-sip host=192.168.2.75 fromdomain=192.168.2.76 realm=192.168.2.75 ;mailbox=9001@from-sip insecure=very callerid="Ravi" <9001009> disallow=all allow=ulaw allow=gsm nat=yes ------------------------------------------------------------------------
9001,9002,and 9003 is register from openSER, When They dial 19001 to enter the conference.
Following are Showing the Errors and Warning ....
*Executing Playback("SIP/9001-08f8d7e0", "conf-hasentered") in new stack -- Playing 'conf-hasentered' (language 'en') -- Executing Wait("SIP/9001-08f8d7e0", "2") in new stack -- Executing CBMySQL("SIP/9001-08f8d7e0", "") in new stack -- Playing 'conf-getconfno' (language 'en') Oct 25 18:15:47 NOTICE[12281]: app_cbmysql.c:373 cb_exec: getConf: 1 -- Playing 'agent-pass' (language 'en') Oct 25 18:15:55 NOTICE[12281]: app_cbmysql.c:126 passQuery: Admin flags: Oct 25 18:15:55 NOTICE[12281]: app_cbmysql.c:127 passQuery: user flags: Oct 25 18:15:55 NOTICE[12281]: app_cbmysql.c:146 passQuery: CBMySQL: Invalid room or pass Oct 25 18:15:55 NOTICE[12281]: app_cbmysql.c:149 passQuery: PASSQUERY: -- Playing 'auth-incorrect' (language 'en') Oct 25 18:16:05 NOTICE[12281]: app_cbmysql.c:126 passQuery: Admin flags: Oct 25 18:16:05 NOTICE[12281]: app_cbmysql.c:127 passQuery: user flags: Oct 25 18:16:05 NOTICE[12281]: app_cbmysql.c:146 passQuery: CBMySQL: Invalid room or pass Oct 25 18:16:05 NOTICE[12281]: app_cbmysql.c:149 passQuery: PASSQUERY: -- Playing 'auth-incorrect' (language 'en') Oct 25 18:16:13 NOTICE[12281]: app_cbmysql.c:126 passQuery: Admin flags: Oct 25 18:16:13 NOTICE[12281]: app_cbmysql.c:127 passQuery: user flags: Oct 25 18:16:13 NOTICE[12281]: app_cbmysql.c:149 passQuery: PASSQUERY: Oct 25 18:16:13 NOTICE[12281]: app_cbmysql.c:376 cb_exec: getPass: 1 == Parsing '/etc/asterisk/meetme.conf': Found Oct 25 18:16:13 NOTICE[12281]: app_cbmysql.c:97 checkMax: Currentusers: 0 Oct 25 18:16:13 NOTICE[12281]: app_cbmysql.c:390 cb_exec: checkMax: 1 Oct 25 18:16:13 NOTICE[12281]: app_cbmysql.c:276 enterConf: Roomtype: 1234|| == Parsing '/etc/asterisk/meetme.conf': Found Oct 25 18:16:13 WARNING[12281]: chan_zap.c:913 zt_open: Unable to open '/dev/zap/pseudo': No such file or directory Oct 25 18:16:13 ERROR[12281]: chan_zap.c:7396 chandup: Unable to dup channel: No such file or directory Oct 25 18:16:13 WARNING[12281]: app_meetme.c:460 build_conf: Unable to open pseudo channel - trying device Oct 25 18:16:13 WARNING[12281]: app_meetme.c:463 build_conf: Unable to open pseudo device -- Playing 'conf-invalid' (language 'en') Oct 25 18:16:17 NOTICE[12281]: app_cbmysql.c:393 cb_exec: enterConf: -1 == Spawn extension (from-sip, 19001, 3) exited non-zero on 'SIP/9001-08f8d7e0'
*
Please Help me.....
*Hello,
the errors refer to zaptel devices. Seems that the zaptel driver is not properly installed, or ... it is better to ask on Asterisk mailing lists, they know better. OpenSER routed properly the requests.
Unable to open '/dev/zap/pseudo': No such file or directory
Cheers, Daniel
* On 10/25/06 16:56, sunkara wrote:
Hello Users, Good Morning, I'm doing on Conference Bridge with Asterisk + OpenSER with CBMySql modules. And I'm not Using the Zapptel Cards.
9001 ----------> dial 19001(conference Users)-------openSER ---------> Asterisk
*In Extension.conf * [from-sip] exten => 19001,1,Playback(conf-hasentered) ;exten => 19001,2,Answer exten => 19001,2,Wait(2) exten => 19001,3,CBMysql()
exten => 19002,1,Playback(conf-hasentered) ;exten => 19002,,Answer exten => 19002,2,Wait(2) exten => 19002,3,MeetMe(1234|pm) exten => 19003,1,Playback(conf-hasentered) ;exten => 19003,2,Answer exten => 19003,2,Wait(2) exten => 19003,3,MeetMe(1234|pm)
- In cbmysql.conf*
[global] hostname=localhost dbname=conference password= user=root port=3306 sock=/var/lib/mysql/mysql.sock DBOpts=yes ;OptsAdm=asdp ;OptsUsr=sdp ConfApp=MeetMe ConfAppCount=MeetMeCount ; Choose one of the following to modify early join behaviour earlyalert=300 ; Tell the participant if they are too early (seconds) ;fuzzystart= ; Allow participants to join early (seconds)
- In sip.conf
*[19001] type=friend username=9001 secret=august context=from-sip host=192.168.2.75 fromdomain=192.168.2.76 realm=192.168.2.75 ;mailbox=9001@from-sip insecure=very callerid="Ravi" <9001009> disallow=all allow=ulaw allow=gsm nat=yes
9001,9002,and 9003 is register from openSER, When They dial 19001 to enter the conference.
Following are Showing the Errors and Warning ....
*Executing Playback("SIP/9001-08f8d7e0", "conf-hasentered") in new stack -- Playing 'conf-hasentered' (language 'en') -- Executing Wait("SIP/9001-08f8d7e0", "2") in new stack -- Executing CBMySQL("SIP/9001-08f8d7e0", "") in new stack -- Playing 'conf-getconfno' (language 'en') Oct 25 18:15:47 NOTICE[12281]: app_cbmysql.c:373 cb_exec: getConf: 1 -- Playing 'agent-pass' (language 'en') Oct 25 18:15:55 NOTICE[12281]: app_cbmysql.c:126 passQuery: Admin flags: Oct 25 18:15:55 NOTICE[12281]: app_cbmysql.c:127 passQuery: user flags: Oct 25 18:15:55 NOTICE[12281]: app_cbmysql.c:146 passQuery: CBMySQL: Invalid room or pass Oct 25 18:15:55 NOTICE[12281]: app_cbmysql.c:149 passQuery: PASSQUERY: -- Playing 'auth-incorrect' (language 'en') Oct 25 18:16:05 NOTICE[12281]: app_cbmysql.c:126 passQuery: Admin flags: Oct 25 18:16:05 NOTICE[12281]: app_cbmysql.c:127 passQuery: user flags: Oct 25 18:16:05 NOTICE[12281]: app_cbmysql.c:146 passQuery: CBMySQL: Invalid room or pass Oct 25 18:16:05 NOTICE[12281]: app_cbmysql.c:149 passQuery: PASSQUERY: -- Playing 'auth-incorrect' (language 'en') Oct 25 18:16:13 NOTICE[12281]: app_cbmysql.c:126 passQuery: Admin flags: Oct 25 18:16:13 NOTICE[12281]: app_cbmysql.c:127 passQuery: user flags: Oct 25 18:16:13 NOTICE[12281]: app_cbmysql.c:149 passQuery: PASSQUERY: Oct 25 18:16:13 NOTICE[12281]: app_cbmysql.c:376 cb_exec: getPass: 1 == Parsing '/etc/asterisk/meetme.conf': Found Oct 25 18:16:13 NOTICE[12281]: app_cbmysql.c:97 checkMax: Currentusers: 0 Oct 25 18:16:13 NOTICE[12281]: app_cbmysql.c:390 cb_exec: checkMax: 1 Oct 25 18:16:13 NOTICE[12281]: app_cbmysql.c:276 enterConf: Roomtype: 1234|| == Parsing '/etc/asterisk/meetme.conf': Found Oct 25 18:16:13 WARNING[12281]: chan_zap.c:913 zt_open: Unable to open '/dev/zap/pseudo': No such file or directory Oct 25 18:16:13 ERROR[12281]: chan_zap.c:7396 chandup: Unable to dup channel: No such file or directory Oct 25 18:16:13 WARNING[12281]: app_meetme.c:460 build_conf: Unable to open pseudo channel - trying device Oct 25 18:16:13 WARNING[12281]: app_meetme.c:463 build_conf: Unable to open pseudo device -- Playing 'conf-invalid' (language 'en') Oct 25 18:16:17 NOTICE[12281]: app_cbmysql.c:393 cb_exec: enterConf: -1 == Spawn extension (from-sip, 19001, 3) exited non-zero on 'SIP/9001-08f8d7e0'
Please Help me.....
-- Thanks & Regards, *Ravi Prakash Sunkara* *M*:+91 9985077535* O*:+91 40 23114549* F*:+91 40 40208727
/*ravi.sunkara@hyperion-tech.com www.hyperion-tech.com */
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users