app_meetme.c:1521 conf_run: Unable to write frame to channel

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

app_meetme.c:1521 conf_run: Unable to write frame to channel

Postby gerski » Tue Sep 12, 2006 12:13 pm

hello guys,

im getting error on this time to time

Sep 12 17:11:16 WARNING[29151]: app_meetme.c:1521 conf_run: Unable to write frame to channel: No such file or directory
== Forcing Marker bit, because SSRC has changed
== Forcing Marker bit, because SSRC has changed

and

== Forcing Marker bit, because SSRC has changed


im using

asterisk 1.2.9
zaptel-1.2.6
x100p

Im using softphone ---> iax

what do you think seems to be the problem?
gerski
 
Posts: 432
Joined: Fri Jul 14, 2006 6:21 am

Postby mflorell » Tue Sep 12, 2006 12:30 pm

What shows up when you run zttool?
mflorell
Site Admin
 
Posts: 18386
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby gerski » Tue Sep 12, 2006 12:33 pm

i dont have zttool but when i run zap show status

Description Alarms IRQ bpviol CRC4
Wildcard X100P Board 1 RED 0 0 0

i can't downlad any zttool as of now.. can you give me any working site. in scratch install the link is dead.
gerski
 
Posts: 432
Joined: Fri Jul 14, 2006 6:21 am

Postby mflorell » Tue Sep 12, 2006 12:41 pm

zttool is included with zaptel. What link is dead on the SCRATCH_INSTALL?
mflorell
Site Admin
 
Posts: 18386
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby gerski » Tue Sep 12, 2006 12:56 pm

here is the error when i type zttool
make zttool
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -c -o zttool.o zttool.c
zttool.c:40:18: newt.h: No such file or directory
zttool.c:135: error: syntax error before "spans"
zttool.c: In function `add_cards':
zttool.c:141: error: `spans' undeclared (first use in this function)
zttool.c:141: error: (Each undeclared identifier is reported only once
zttool.c:141: error: for each function it appears in.)
zttool.c:142: warning: implicit declaration of function `newtListboxGetCurrent'
zttool.c:142: warning: assignment makes pointer from integer without a cast
zttool.c:143: warning: implicit declaration of function `newtListboxClear'
zttool.c:148: warning: implicit declaration of function `newtListboxAppendEntry'
zttool.c:152: warning: implicit declaration of function `newtListboxSetCurrentByKey'
zttool.c: At top level:
zttool.c:156: error: syntax error before "c"
zttool.c: In function `sel_callback':
zttool.c:161: error: `cbdata' undeclared (first use in this function)
zttool.c:161: error: `c' undeclared (first use in this function)
zttool.c:171: warning: implicit declaration of function `newtPopHelpLine'
zttool.c:172: warning: implicit declaration of function `newtPushHelpLine'
zttool.c: At top level:
zttool.c:175: error: syntax error before "newtComponent"
zttool.c: In function `show_bits':
zttool.c:202: error: `span' undeclared (first use in this function)
zttool.c:271: warning: implicit declaration of function `newtTextboxSetText'
zttool.c:271: error: `bitbox' undeclared (first use in this function)
zttool.c:273: error: `inuse' undeclared (first use in this function)
zttool.c:277: error: `levels' undeclared (first use in this function)
zttool.c:279: error: `bpvcount' undeclared (first use in this function)
zttool.c:281: error: `irqmisses' undeclared (first use in this function)
zttool.c:282: error: `alarms' undeclared (first use in this function)
zttool.c:287: error: `syncsrc' undeclared (first use in this function)
zttool.c: In function `do_loop':
zttool.c:294: error: `newtComponent' undeclared (first use in this function)
zttool.c:294: error: syntax error before "form"
zttool.c:299: error: storage size of `es' isn't known
zttool.c:301: warning: implicit declaration of function `newtOpenWindow'
zttool.c:303: error: `form' undeclared (first use in this function)
zttool.c:303: warning: implicit declaration of function `newtForm'
zttool.c:313: error: `label' undeclared (first use in this function)
zttool.c:313: warning: implicit declaration of function `newtLabel'
zttool.c:314: warning: implicit declaration of function `newtFormAddComponent'
zttool.c:317: warning: implicit declaration of function `newtFormSetTimer'
zttool.c:318: warning: implicit declaration of function `newtFormRun'
zttool.c:320: warning: implicit declaration of function `newtFormDestroy'
zttool.c:321: warning: implicit declaration of function `newtPopWindow'
zttool.c:299: warning: unused variable `es'
zttool.c: At top level:
zttool.c:325: error: syntax error before "spans"
zttool.c:325: warning: type defaults to `int' in declaration of `spans'
zttool.c:325: error: `spans' used prior to declaration
zttool.c:325: warning: data definition has no type or storage class
zttool.c: In function `show_span':
zttool.c:328: error: `newtComponent' undeclared (first use in this function)
zttool.c:328: error: syntax error before "form"
zttool.c:344: error: storage size of `es' isn't known
zttool.c:351: warning: assignment makes pointer from integer without a cast
zttool.c:361: error: `back' undeclared (first use in this function)
zttool.c:361: warning: implicit declaration of function `newtButton'
zttool.c:362: error: `loop' undeclared (first use in this function)
zttool.c:363: error: `form' undeclared (first use in this function)
zttool.c:365: warning: implicit declaration of function `newtFormAddComponents'
zttool.c:374: error: `bitbox' undeclared (first use in this function)
zttool.c:374: warning: implicit declaration of function `newtTextbox'
zttool.c:377: error: `label' undeclared (first use in this function)
zttool.c:383: warning: implicit declaration of function `newtFormAddHotKey'
zttool.c:383: error: `NEWT_KEY_F10' undeclared (first use in this function)
zttool.c:414: error: `inuse' undeclared (first use in this function)
zttool.c:420: error: `levels' undeclared (first use in this function)
zttool.c:426: error: `bpvcount' undeclared (first use in this function)
zttool.c:432: error: `irqmisses' undeclared (first use in this function)
zttool.c:438: error: `syncsrc' undeclared (first use in this function)
zttool.c:444: error: `alarms' undeclared (first use in this function)
zttool.c:453: error: `NEWT_EXIT_TIMER' undeclared (first use in this function)
zttool.c:455: error: `NEWT_EXIT_COMPONENT' undeclared (first use in this function)
zttool.c:465: error: `NEWT_EXIT_HOTKEY' undeclared (first use in this function)
zttool.c:344: warning: unused variable `es'
zttool.c: In function `show_spans':
zttool.c:489: error: `newtComponent' undeclared (first use in this function)
zttool.c:489: error: syntax error before "form"
zttool.c:495: error: storage size of `es' isn't known
zttool.c:498: error: `quit' undeclared (first use in this function)
zttool.c:499: error: `sel' undeclared (first use in this function)
zttool.c:501: warning: implicit declaration of function `newtListbox'
zttool.c:501: error: `NEWT_FLAG_SCROLL' undeclared (first use in this function)
zttool.c:502: warning: implicit declaration of function `newtListboxSetWidth'
zttool.c:504: error: `label' undeclared (first use in this function)
zttool.c:506: warning: implicit declaration of function `newtCenteredWindow'
zttool.c:507: error: `form' undeclared (first use in this function)
zttool.c:513: warning: implicit declaration of function `newtComponentAddCallback'
zttool.c:515: error: `NEWT_KEY_F1' undeclared (first use in this function)
zttool.c:516: error: `NEWT_KEY_F10' undeclared (first use in this function)
zttool.c:523: error: `NEWT_EXIT_TIMER' undeclared (first use in this function)
zttool.c:526: error: `NEWT_EXIT_COMPONENT' undeclared (first use in this function)
zttool.c:535: error: `NEWT_EXIT_HOTKEY' undeclared (first use in this function)
zttool.c:495: warning: unused variable `es'
zttool.c: In function `main':
zttool.c:564: warning: implicit declaration of function `newtInit'
zttool.c:565: warning: implicit declaration of function `newtCls'
zttool.c:567: warning: implicit declaration of function `newtDrawRootText'
zttool.c:571: warning: implicit declaration of function `newtFinished'
make: *** [zttool.o] Error 1


i try to download http://www.freedomphones.net/files/newt-0.51.6.tar.gz
but it seems i can't download
gerski
 
Posts: 432
Joined: Fri Jul 14, 2006 6:21 am

Postby mflorell » Tue Sep 12, 2006 1:26 pm

it's there, I just downloaded it.

It's on a server in Colorado and I'm in Florida so I know it's not a network problem on that end.
mflorell
Site Admin
 
Posts: 18386
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby gerski » Tue Sep 12, 2006 1:30 pm

it works, but the problem is when i cant install zttool... :(
gerski
 
Posts: 432
Joined: Fri Jul 14, 2006 6:21 am

Postby mflorell » Tue Sep 12, 2006 1:43 pm

You need to install newt before installing zttool.


just added this to the SCRATCH_INSTALL:

wget http://www.freedomphones.net/files/newt-0.51.6.tar.gz
gunzip newt-0.51.6.tar.gz
tar xvf newt-0.51.6.tar
cd newt-0.51.6
./configure
make
make install
cd ../
ln -s /usr/lib/libnewt.so.0.51.6 /usr/lib/libnewt.so.0.51
mflorell
Site Admin
 
Posts: 18386
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby gerski » Wed Sep 13, 2006 1:08 am

ok thanks...

i have upgrade to SVN asterisk 1.2 and it works now thanks...

here it is

Current Alarms: Red Alarm │ │
│ │ Sync Source: Internally clocked │ ▒ │
│ │ IRQ Misses: 0 │ ▒ │
│ │ Bipolar Viol: 0 │ ▒ │
│ │ Tx/Rx Levels: 0/ 0 │ ▒ │
│ │ Total/Conf/Act: 1/ 1/ 0 │ ▒ │
│ │ ┌──────┐ │ ▒ │
│ │ 1 │ Back │ │ ▒ │
│ │ TxA - └──────┘ │ ▒ │
│ │ TxB - │ ▒ │
│ │ TxC - │ # │
│ │ TxD - │ │
│ │ ┌──────┐ │ │
│ │ RxA - │ Loop │ │ │
│ │ RxB - └──────┘ │ │
│ │ RxC - │ │
│ │ RxD -
gerski
 
Posts: 432
Joined: Fri Jul 14, 2006 6:21 am

Postby gerski » Wed Sep 13, 2006 1:11 am

by the way im using x100p for timing..

i'll try later if i still getting the error again after upgrading it to SVN asterisk 1.2
gerski
 
Posts: 432
Joined: Fri Jul 14, 2006 6:21 am

Postby gerski » Wed Sep 13, 2006 7:31 pm

im always getting this error both of our 2 sites...

Sep 14 00:25:10 WARNING[22694]: app_meetme.c:1541 conf_run: Unable to write frame to channel: Resource temporarily unavailable

what do you think is my problem?

both are

asterisk SVN 1.2
libpri SVN 1.2
zaptel SVN 1.2

timing is:
one is x100p
2nd is TE205P

on TE205P zttool:

SPAN 1 (channelbank)
Current Alarms: No alarms. │ │
│ │ Sync Source: Internally clocked │ ▒ │
│ │ IRQ Misses: 0 │ ▒ │
│ │ Bipolar Viol: 0 │ ▒ │
│ │ Tx/Rx Levels: 0/ 0 │ ▒ │
│ │ Total/Conf/Act: 24/ 17/ 13 │ # │
│ │ 111111111122222 ┌──────┐ │ ▒ │
│ │ 123456789012345678901234 │ Back │ │ ▒ │
│ │ TxA 0000000000000000 - └──────┘ │ ▒ │
│ │ TxB 1111111111111111 - │ ▒ │
│ │ TxC 0000000000000000 - │ ▒ │
│ │ TxD 1111111111111111 - │ │
│ │ ┌──────┐ │ │
│ │ RxA 1111111011011011 - │ Loop │ │ │
│ │ RxB 1111111111111111 - └──────┘ │ │
│ │ RxC 1111111011011011 - │ │
│ │ RxD 1111111111111111 - │

on SPAN 2

Current Alarms: No alarms. │ │
│ │ Sync Source: Internally clocked │ ▒ │
│ │ IRQ Misses: 0 │ ▒ │
│ │ Bipolar Viol: 0 │ ▒ │
│ │ Tx/Rx Levels: 0/ 0 │ ▒ │
│ │ Total/Conf/Act: 31/ 31/ 0 │ ▒ │
│ │ 1111111111222222222333 ┌──────┐ │ ▒ │
│ │ 1234567890123456789012345789012 │ Back │ │ ▒ │
│ │ TxA ------------------------------- └──────┘ │ ▒ │
│ │ TxB ------------------------------- │ ▒ │
│ │ TxC ------------------------------- │ # │
│ │ TxD ------------------------------- │ │
│ │ ┌──────┐ │ │
│ │ RxA ------------------------------- │ Loop │ │ │
│ │ RxB ------------------------------- └──────┘ │ │
│ │ RxC ------------------------------- │ │
│ │ RxD -------------------------------


On X100P
Current Alarms: Red Alarm │ │
│ │ Sync Source: Internally clocked │ ▒ │
│ │ IRQ Misses: 0 │ ▒ │
│ │ Bipolar Viol: 0 │ ▒ │
│ │ Tx/Rx Levels: 0/ 0 │ ▒ │
│ │ Total/Conf/Act: 1/ 1/ 0 │ ▒ │
│ │ ┌──────┐ │ ▒ │
│ │ 1 │ Back │ │ ▒ │
│ │ TxA - └──────┘ │ ▒ │
│ │ TxB - │ ▒ │
│ │ TxC - │ # │
│ │ TxD - │ │
│ │ ┌──────┐ │ │
│ │ RxA - │ Loop │ │ │
│ │ RxB - └──────┘ │ │
│ │ RxC - │ │
│ │ RxD -
gerski
 
Posts: 432
Joined: Fri Jul 14, 2006 6:21 am

Postby mflorell » Wed Sep 13, 2006 8:15 pm

What Linux kernel are you using?

Did you get any errors when you built zaptel?
mflorell
Site Admin
 
Posts: 18386
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby gerski » Wed Sep 13, 2006 8:17 pm

no i don't get any error

one is using 2.4 (X100P)
2nd is using 2.6 (TE205P)

im using Slackware 10.2
gerski
 
Posts: 432
Joined: Fri Jul 14, 2006 6:21 am

Postby mflorell » Wed Sep 13, 2006 9:29 pm

Can you actually use the zaptel channels to place calls or are these only for signalling?

can you post output of lspci?

Did you run ztcfg -vvvvvvv?

Can you post your zaptel.conf and zapata.conf?
mflorell
Site Admin
 
Posts: 18386
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby gerski » Thu Sep 14, 2006 1:59 am

yes i run ztcfg -vvvvvvvvvvvv on /etc/rc.d/rc.local

on TE205P:
zaptel.conf

loadzone=us
defaultzone=us
#Span 1: T1 (channelbank)
span=1,0,0,esf,b8zs
fxoks=1-16
#Span 2: E1 PRI
span=2,0,0,ccs,hdb3
bchan=24-39,41-55
dchan=40

on zapata.conf


[trunkgroups]
[channels]
; Span 1
language=en
group = 1
echocancel=64
echocancelwhenbridged=yes
;echotraining=600
callerid=asreceived
immediate=no
context=default
rxgain=0.0
txgain=0.0
signalling=fxo_ks
channel => 1-16

; Span 2
group=2
switchtype=euroisdn
signalling=pri_cpe
context=default
echocancel=64
echocancelwhenbridged=yes
rxgain=0.0
txgain=0.0
channel => 25-39
channel => 41-55

lspci
01:05.0 VGA compatible controller: ATI Technologies Inc: Unknown device 5a61
02:13.0 Ethernet controller: D-Link System Inc RTL8139 Ethernet (rev 10)
02:14.0 Communication controller: Unknown device d161:0205 (rev 02)



on X100P
zaptel.conf

loadzone = us
defaultzone=us
fxsks=1

zapata.conf
[trunkgroups]
[channels]
context=default
signalling=fxs_ks
channel => 1

lspci
02:02.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
02:03.0 Ethernet controller: D-Link System Inc RTL8139 Ethernet (rev 10)
02:04.0 Communication controller: Motorola: Unknown device 5608


[/code]
gerski
 
Posts: 432
Joined: Fri Jul 14, 2006 6:21 am

Postby gerski » Thu Sep 14, 2006 2:03 am

dmesg

on X100P
Zapata Telephony Interface Registered on major 196
Zaptel Version: SVN-branch-1.2-r1458 Echo Canceller: KB1
wcfxo: DAA mode is 'FCC'
Found a Wildcard FXO: Wildcard X100P
Registered tone zone 0 (United States / North America)
Registered tone zone 0 (United States / North America)

on TE205P
Zapata Telephony Interface Registered on major 196
Zaptel Version: SVN-branch-1.2-r1368M Echo Canceller: MARK2 (aggressive)
ACPI: PCI Interrupt 0000:02:14.0[A] -> GSI 17 (level, low) -> IRQ 18
Found TE2XXP at base address dfeff800, remapped to f8860800
TE2XXP version c01a0164, burst OFF, slip debug: OFF
FALC version: 00000005, Board ID: 00
Reg 0: 0x37004400
Reg 1: 0x37004000
Reg 2: 0xffffffff
Reg 3: 0x00000000
Reg 4: 0x00000000
Reg 5: 0x00000000
Reg 6: 0xc01a0164
Reg 7: 0x00001200
Reg 8: 0x00000000
Reg 9: 0x00ff0000
Reg 10: 0x00000000
TE2XXP: Launching card: 0
TE2XXP: Setting up global serial parameters
Found a Wildcard: Wildcard TE205P
About to enter spanconfig!
Done with spanconfig!
About to enter spanconfig!
Done with spanconfig!
Registered tone zone 0 (United States / North America)
About to enter startup!
TE2XXP: Span 1 configured for ESF/B8ZS
wct2xxp: Setting yellow alarm on span 1
VPM400: Not Present
OCT Result: 0004/000a
VPM450: Not Present
Completed startup!
gerski
 
Posts: 432
Joined: Fri Jul 14, 2006 6:21 am

Postby mflorell » Thu Sep 14, 2006 2:23 am

could you try using Asterisk 1.2.10 and zaptel 1.2.8 just to see if it could be a software problem?

can you post lsmod output?
mflorell
Site Admin
 
Posts: 18386
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby gerski » Thu Sep 14, 2006 2:28 am

on TE205P
lsmod:
Module Size Used by
wct4xxp 295264 -
zaptel 222884 -
crc_ccitt 1704 -

0n X100P
Module Size Used by Not tainted
wcfxo 7712 1
zaptel 219424 6 [wcfxo]
pcmcia_core 39172 0
ide-scsi 9392 0
8139too 13928 2
mii 2272 0 [8139too]
crc32 2880 0 [8139too]

i'm having problem on Astrisk 1.2.10 on TE205P also in zap channelbank as i can't use meetme because the calls not sending to the agents.

i'll try it on X100P server.
gerski
 
Posts: 432
Joined: Fri Jul 14, 2006 6:21 am

Postby mflorell » Thu Sep 14, 2006 2:42 am

Does your channelbank work in asterisk SVN 1.2 ?

have you moved the jumper on the card for E1 on the TE205P?
mflorell
Site Admin
 
Posts: 18386
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby gerski » Thu Sep 14, 2006 2:45 am

yes its working...

on TE205P i have set T1 for SPAN1 and E1 jumper for SPAN2,
gerski
 
Posts: 432
Joined: Fri Jul 14, 2006 6:21 am

Postby mflorell » Thu Sep 14, 2006 2:53 am

What are the errors that you are getting in 1.2.10 where the calls are not going to agents?
mflorell
Site Admin
 
Posts: 18386
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby gerski » Thu Sep 14, 2006 2:56 am

let me reinstall the lower asterisk version again and will paste you the CLI output..

i already install the asterisk 1.2.10 and zaptel 1.2.8 and will give you update later :lol: thanks...
gerski
 
Posts: 432
Joined: Fri Jul 14, 2006 6:21 am

Postby gerski » Thu Sep 14, 2006 11:42 pm

still got an error everyday after end of the shift... =(
gerski
 
Posts: 432
Joined: Fri Jul 14, 2006 6:21 am

Postby gerski » Thu Sep 14, 2006 11:51 pm

do you guys also having problem on this? im now using asterisk 1.2.10 and zaptel 1.2.8 but im still getting an error app_meetme.c:1541 conf_run: Unable to write frame to channel do you think it has something to do with timing? it really floods my CLI.. i just need to restart the asterisk and everythink works normal again...
gerski
 
Posts: 432
Joined: Fri Jul 14, 2006 6:21 am

Postby mflorell » Thu Sep 14, 2006 11:58 pm

do you get that repeating dozens of times a second or only once on a call randomly?
mflorell
Site Admin
 
Posts: 18386
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby kchung » Fri Sep 15, 2006 12:06 am

What codec is everything using? try making sure everything either stays GSM or ulaw.
kchung
 
Posts: 208
Joined: Fri Aug 04, 2006 5:28 pm

Postby enjay » Fri Sep 15, 2006 12:06 am

Probably like me I restart asterisk works fine for a while could even be a few weeks then out of the blue it starts doing that, restart and nothing.

-enjay
enjay
 
Posts: 806
Joined: Mon Jun 19, 2006 12:40 pm
Location: Utah

Postby gerski » Fri Sep 15, 2006 11:50 am

it floods my asterisk CLI... im actually using g729 to g729 codec and also im using alaw to ulaw from my channelbank.

it happens almost everyday on 2 sites with differenct asterisk version and zaptel version.

i just restart the asterisk and the error will not showed up, it probably not affecting the system. but i wanted to get rid of that error.
gerski
 
Posts: 432
Joined: Fri Jul 14, 2006 6:21 am

Postby enjay » Fri Sep 15, 2006 11:57 am

Yea makes it rather hard to troubleshoot, though I havent been able to pinpoint it to anything specific.

-enjay
enjay
 
Posts: 806
Joined: Mon Jun 19, 2006 12:40 pm
Location: Utah

Postby gerski » Fri Sep 15, 2006 12:50 pm

Sep 15 17:49:38 WARNING[6408]: app_meetme.c:1524 conf_run: Unable to write frame to channel: No such file or directory

here is my error on one of my site.. it floods my CLI output
gerski
 
Posts: 432
Joined: Fri Jul 14, 2006 6:21 am

Postby enjay » Fri Sep 15, 2006 1:02 pm

Yea I get the same, though I havent gotten it since last week.

-enjay
enjay
 
Posts: 806
Joined: Mon Jun 19, 2006 12:40 pm
Location: Utah


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 84 guests