OpenVZ Conference Bridging and Zaptel

The log 1/2 half

[Sep 11 18:36:19] DEBUG[13840] func_db.c: DB: DEVICE/8054337505/emergency_cid not found in database.
[Sep 11 18:36:19] VERBOSE[13840] logger.c: -- Executing [s@macro-outbound-callerid:7] Set("SIP/192.168.45.6-007d6560", "EMERGENCYCID=") in new stack
[Sep 11 18:36:19] DEBUG[13840] app_macro.c: Executed application: Set
[Sep 11 18:36:19] VERBOSE[13840] logger.c: -- Executing [s@macro-outbound-callerid:8] Set("SIP/192.168.45.6-007d6560", "TRUNKOUTCID=") in new stack
[Sep 11 18:36:19] DEBUG[13840] app_macro.c: Executed application: Set
[Sep 11 18:36:19] VERBOSE[13840] logger.c: -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/192.168.45.6-007d6560", "1?trunkcid") in new stack
[Sep 11 18:36:19] VERBOSE[13840] logger.c: -- Goto (macro-outbound-callerid,s,12)
[Sep 11 18:36:19] DEBUG[13840] app_macro.c: Executed application: GotoIf
[Sep 11 18:36:19] VERBOSE[13840] logger.c: -- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/192.168.45.6-007d6560", "0|Set|CALLERID(all)=") in new stack
[Sep 11 18:36:19] DEBUG[13840] app_macro.c: Executed application: ExecIf
[Sep 11 18:36:19] VERBOSE[13840] logger.c: -- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/192.168.45.6-007d6560", "1|Set|CALLERID(all)=8054337505") in new stack
[Sep 11 18:36:19] DEBUG[13840] app_macro.c: Executed application: ExecIf
[Sep 11 18:36:19] DEBUG[13840] app_macro.c: Last app: Set|CALLERID(all)=8054337505
[Sep 11 18:36:19] VERBOSE[13840] logger.c: -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/192.168.45.6-007d6560", "0|SetCallerPres|prohib_passed_screen") in new stack
[Sep 11 18:36:19] DEBUG[13840] app_macro.c: Executed application: ExecIf
[Sep 11 18:36:19] DEBUG[13840] app_macro.c: Executed application: Macro
[Sep 11 18:36:19] VERBOSE[13840] logger.c: -- Executing [s@macro-dialout-trunk:12] ExecIf("SIP/192.168.45.6-007d6560", "1|AGI|fixlocalprefix") in new stack
[Sep 11 18:36:19] VERBOSE[13840] logger.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
[Sep 11 18:36:19] VERBOSE[13840] logger.c: == fixlocalprefix: Dialpattern NXXXXXX matched. 3041450 -> 3041450
[Sep 11 18:36:19] VERBOSE[13840] logger.c: -- AGI Script fixlocalprefix completed, returning 0
[Sep 11 18:36:19] DEBUG[13840] app_macro.c: Executed application: ExecIf
[Sep 11 18:36:19] DEBUG[13840] app_macro.c: Last app: AGI|fixlocalprefix
[Sep 11 18:36:19] VERBOSE[13840] logger.c: -- Executing [s@macro-dialout-trunk:13] Set("SIP/192.168.45.6-007d6560", "OUTNUM=3041450") in new stack
[Sep 11 18:36:19] DEBUG[13840] app_macro.c: Executed application: Set
[Sep 11 18:36:19] VERBOSE[13840] logger.c: -- Executing [s@macro-dialout-trunk:14] Set("SIP/192.168.45.6-007d6560", "custom=SIP/GXW") in new stack
[Sep 11 18:36:19] DEBUG[13840] app_macro.c: Executed application: Set
[Sep 11 18:36:19] VERBOSE[13840] logger.c: -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/192.168.45.6-007d6560", "0|Set|DIAL_TRUNK_OPTIONS=M(setmusic^)") in new stack
[Sep 11 18:36:19] DEBUG[13840] app_macro.c: Executed application: ExecIf
[Sep 11 18:36:19] VERBOSE[13840] logger.c: -- Executing [s@macro-dialout-trunk:16] Macro("SIP/192.168.45.6-007d6560", "dialout-trunk-predial-hook|") in new stack
[Sep 11 18:36:19] VERBOSE[13840] logger.c: -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/192.168.45.6-007d6560", "") in new stack
[Sep 11 18:36:19] DEBUG[13840] app_macro.c: Executed application: Macro
[Sep 11 18:36:19] VERBOSE[13840] logger.c: -- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/192.168.45.6-007d6560", "0?bypass|1") in new stack
[Sep 11 18:36:19] DEBUG[13840] app_macro.c: Executed application: GotoIf
[Sep 11 18:36:19] VERBOSE[13840] logger.c: -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/192.168.45.6-007d6560", "0?customtrunk") in new stack
[Sep 11 18:36:19] DEBUG[13840] app_macro.c: Executed application: GotoIf
[Sep 11 18:36:19] VERBOSE[13840] logger.c: -- Executing [s@macro-dialout-trunk:19] Dial("SIP/192.168.45.6-007d6560", "SIP/GXW/3041450|300|") in new stack
[Sep 11 18:36:19] VERBOSE[13840] logger.c: -- Called GXW/3041450
[Sep 11 18:36:24] VERBOSE[13840] logger.c: -- SIP/GXW-007dfeb0 is ringing
[Sep 11 18:36:24] VERBOSE[13840] logger.c: -- SIP/GXW-007dfeb0 answered SIP/192.168.45.6-007d6560
[Sep 11 18:36:24] VERBOSE[13840] logger.c: -- Native bridging SIP/192.168.45.6-007d6560 and SIP/GXW-007dfeb0
[Sep 11 18:36:31] VERBOSE[13839] logger.c: -- Remote UNIX connection disconnected
[Sep 11 18:36:46] VERBOSE[13840] logger.c: == Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on 'SIP/192.168.45.6-007d6560' in macro 'dialout-trunk'
[Sep 11 18:36:46] VERBOSE[13840] logger.c: == Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on 'SIP/192.168.45.6-007d6560'
[Sep 11 18:36:46] VERBOSE[13840] logger.c: -- Executing [h@macro-dialout-trunk:1] Macro("SIP/192.168.45.6-007d6560", "hangupcall|") in new stack
[Sep 11 18:36:46] VERBOSE[13840] logger.c: -- Executing [s@macro-hangupcall:1] GotoIf("SIP/192.168.45.6-007d6560", "1?skiprg") in new stack
[Sep 11 18:36:46] VERBOSE[13840] logger.c: -- Goto (macro-hangupcall,s,4)
[Sep 11 18:36:46] DEBUG[13840] app_macro.c: Executed application: GotoIf
[Sep 11 18:36:46] VERBOSE[13840] logger.c: -- Executing [s@macro-hangupcall:4] GotoIf("SIP/192.168.45.6-007d6560", "0?skipblkvm") in new stack
[Sep 11 18:36:46] DEBUG[13840] app_macro.c: Executed application: GotoIf
[Sep 11 18:36:46] VERBOSE[13840] logger.c: -- Executing [s@macro-hangupcall:5] NoOp("SIP/192.168.45.6-007d6560", "Cleaning Up Block VM Flag: BLKVM/100/SIP/192.168.45.6-007d6560") in new stack
[Sep 11 18:36:46] DEBUG[13840] app_macro.c: Executed application: Noop
[Sep 11 18:36:46] VERBOSE[13840] logger.c: -- Executing [s@macro-hangupcall:6] DBdel("SIP/192.168.45.6-007d6560", "BLKVM/100/SIP/192.168.45.6-007d6560") in new stack
[Sep 11 18:36:46] VERBOSE[13840] logger.c: -- DBdel: family=BLKVM, key=100/SIP/192.168.45.6-007d6560
[Sep 11 18:36:46] VERBOSE[13840] logger.c: -- DBdel: Error deleting key from database.
[Sep 11 18:36:46] DEBUG[13840] app_macro.c: Executed application: DBDel
[Sep 11 18:36:46] VERBOSE[13840] logger.c: -- Executing [s@macro-hangupcall:7] GotoIf("SIP/192.168.45.6-007d6560", "1?theend") in new stack
[Sep 11 18:36:46] VERBOSE[13840] logger.c: -- Goto (macro-hangupcall,s,9)
[Sep 11 18:36:46] DEBUG[13840] app_macro.c: Executed application: GotoIf
[Sep 11 18:36:46] VERBOSE[13840] logger.c: -- Executing [s@macro-hangupcall:9] Hangup("SIP/192.168.45.6-007d6560", "") in new stack
[Sep 11 18:36:46] VERBOSE[13840] logger.c: == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/192.168.45.6-007d6560' in macro 'hangupcall'
[Sep 11 18:36:46] VERBOSE[13840] logger.c: == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/192.168.45.6-007d6560'
 
By the way.
I used centos x86_64 openvz template, and I built everything form there.
I installed all the rpm package from 64 bit pbxiaf iso cd.
Everything works. However, when I comipled asterisk
I get the following warning.
WARNING WARNING WARNING

Your Asterisk modules directory, located at
/usr/lib/asterisk/modules
contains modules that were not installed by this
version of Asterisk. Please ensure that these
modules are compatible with this version before
attempting to run Asterisk.

app_flite.so
app_saycountpl.so
chan_ooh323.so
format_mp3.so
func_audiohookinherit.so

WARNING WARNING WARNING
Since all the rpm package in the 64 bit PBXIAF ISO should be compatible.
Could this be the reason?
 
That is related to the download package not the RPM's if I follow what you have done correctly. The 64bit version of PIAf can have some problems at times. I am busily playing with my new uber proxmox server and will be exploring this problem along with Ward and Joe...

Tom
 
Hi
app_flite.so
app_saycountpl.so
chan_ooh323.so
format_mp3.so
func_audiohookinherit.so
This is usual, 2,3,and 4 are installed by asterisk-addons, never seen the last one before, and the first is included in PiaF for basic text to speech.

Joe
 
Preparing Proxmox

Salam every body


This what I have done to make sure that asterisk and dahdi are installed on the proxmox at first.

login to proxmox via ssh using your root and password.

apt-get upgrade
apt-get update

If you have an old version of proxmox then the following step might be useful, though I did not need it since I am using Proxmox 1.5

apt-get install gcc make pve-headers-2.6.24-7-pve
aptitude update
aptitude safe-upgrade.


Now to install asterisk just issue the command

apt-get install asterisk

then it is done, now for dahdi . ( this part I got it from elastix forum)

for dahdi:

cd /usr/src
wget http://downloads.asterisk.org/pub/telephony/dahdi-linux/dahdi-linux-current.tar.gz
tar -xzvf dahdi-linux-current.tar.gz
cd dahdi-linux-2*
make
make install

for dahdi tools

cd /usr/src
wget http://downloads.asterisk.org/pub/telephony/dahdi-tools/dahdi-tools-current.tar.gz
tar -xzvf dahdi-tools-current.tar.gz
cd dahdi-tools-2*
./configure
make
make install
make config

then
apt-get install chkconfig
chkconfig dahdi on

and finally this thing which I don't quite understand

echo 'DEVNODES="dahdi/channel:rw dahdi/ctl:rw dahdi/timer:rw dahdi/pseudo:rw null:rw "' >> /etc/vz/conf/ve-pve.auto.conf-sample

that's it for proxmox.

hope some one will find it useful.

thanks
 
How is your timing with dahdi_test or zttest results on either the openvz or hvm?

I'm trying to compare it to what I've tested with XEN to see how it compares.
 
Ive came across this meetme issue and cant see to get it resolved.

Im running Proxmox version 1.6 and centos-5.5-silver-pbxiaf_5.5-1_amd64.tar.gz.

Ive followed the instructions @ http://nerdvittles.com/?p=645, and the dandi module loads on Proxmox.:smile5:

The bad news is the conference bridge still hangs-up on me:banghead:.

Can someone suggest anything to status, display or check because I'm a a dead end. Pasted below is the carnage. thx.


Executing [STARTMEETME@from-internal:2] Set("SIP/703-00000018", "GROUP(meetme)=3876") in new stack
-- Executing [STARTMEETME@from-internal:3] GotoIf("SIP/703-00000018", "0?MEETMEFULL|1") in new stack
== Spawn extension (from-internal, STARTMEETME, 4) exited non-zero on 'SIP/703-00000018'
-- Executing [h@from-internal:1] Macro("SIP/703-00000018", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/703-00000018", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,4)
-- Executing [s@macro-hangupcall:4] GotoIf("SIP/703-00000018", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,7)
-- Executing [s@macro-hangupcall:7] GotoIf("SIP/703-00000018", "1?theend") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] Hangup("SIP/703-00000018", "") in new stack
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/703-00000018' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/703-00000018'
 
I am sorry. Fond the answer. Had to recompile asterisk.

I am also tying to get meetme to work in proxmox. Ive ran the scripts, but still no luck. Dandhi is running on the host, but I also have app_meetme XXX out in menuselect.

Can you give me the steps you completed to recompile Asterisk and enable meetme?

thanks!
 
I am also tying to get meetme to work in proxmox. Ive ran the scripts, but still no luck. Dandhi is running on the host, but I also have app_meetme XXX out in menuselect.

Can you give me the steps you completed to recompile Asterisk and enable meetme?

thanks!

Resolved: This is how I did it, with help from JRoper.

1) Followed the steps here for Installing DAHDI on Proxmox.

2) Re-complied asterisk on VM.
mkdir /usr/include/dahdi/

cp /usr/src/dahdi-linux-complete/linux/include/dahdi/user.h /usr/include/dahdi/user.h
Now recompile asterisk to inclued dahdi.
cd /usr/src/asterisk-1.4.36
make distclean ( important, this stumped me for hours)
./configure
make menuselect (making sure app_meetme is included)
make
make install


3)
amportal restart.
 

Members online

No members online now.

Forum statistics

Threads
26,687
Messages
174,411
Members
20,257
Latest member
Dempan
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top