Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] mod_openzap stops working after some calls


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
helmut.kuper at ewetel.de
Guest





PostPosted: Fri Feb 06, 2009 7:36 am    Post subject: [Freeswitch-users] mod_openzap stops working after some call Reply with quote

Hello,

since yesterday I do a real life test with FS in a 40 sip extension
environment with TDM connection via wanpipe/sangoma A104d.

I detected two times the problem, that openzap stops working, while SIP
calls worked. Only restarting helped. Maybe reloading of mod_openzap
helps as well, but I didn't tested that, yet. I filtered FS logfile for
hints of that problem and I found a growing number of this line:

2009-02-06 11:09:51 [INFO] ozmod_isdn.c:706 zap_isdn_931_34() Duplicate
SETUP message(?) for Channel 1:21 ~ 1:21 in state DOWN [ignoring]

Befor restart I saw such a line for *each* TDM channel and no one was
able to dial out. mod_openzap handled around 40 outgoing calls until
last restart .

Since last restart FS runs good for 2 hours now without any duplicate
SETUP in log ...

Has anybody similar problems?


regards
Helmut

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
anthony.minessale at g...
Guest





PostPosted: Fri Feb 06, 2009 11:03 am    Post subject: [Freeswitch-users] mod_openzap stops working after some call Reply with quote

I think we have some trouble surviving issues.
So when everything is ok we do fine but if something goes wrong we don't recover.
We are still missing state timers in the q931.

maybe you can use your new pcap thing to see what goes wrong =D


On Fri, Feb 6, 2009 at 6:32 AM, Helmut Kuper <helmut.kuper@ewetel.de (helmut.kuper@ewetel.de)> wrote:
Quote:
Hello,

since yesterday I do a real life test with FS in a 40 sip extension
environment with TDM connection via wanpipe/sangoma A104d.

I detected two times the problem, that openzap stops working, while SIP
calls worked. Only restarting helped. Maybe reloading of mod_openzap
helps as well, but I didn't tested that, yet. I filtered FS logfile for
hints of that problem and I found a growing number of this line:

2009-02-06 11:09:51 [INFO] ozmod_isdn.c:706 zap_isdn_931_34() Duplicate
SETUP message(?) for Channel 1:21 ~ 1:21 in state DOWN [ignoring]

Befor restart I saw such a line for *each* TDM channel and no one was
able to dial out. mod_openzap handled around 40 outgoing calls until
last restart .

Since last restart FS runs good for 2 hours now without any duplicate
SETUP in log ...

Has anybody similar problems?


regards
Helmut

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
Back to top
helmut.kuper at ewetel.de
Guest





PostPosted: Mon Feb 09, 2009 1:18 pm    Post subject: [Freeswitch-users] mod_openzap stops working after some call Reply with quote

Hello Anthony,


Very Happy yes that's what I'm doing ... beneath some code changes in openzap
... So I found a real timestamp in pcap is quite usefull if you have
more than one call at a time ... I added that function today. It uses
"libapr-1" functions. Unfortunately I introduced a dependency to
libs/apr to openzap by that. If it delivers micro seconds, maybe it's
better to use zap_time_now(). Have to check that tomorrow.

I agree there are some problems in maintaining channel states correctly.
Once a day I have to restart FS. I get "TOMANYCALLS" errors, no matching
channels on RELEASE, SETUP duplicates and "oz dump 1" shows more and
more channels with states other than DOWN, even, when no current calls
are there. I did some timebased changes in ozmod_isdn SETUP handling
and hope it helps out until state timers a available. If it works I
would like to upload it to trunk, if you allow.

regards
helmut


On 06.02.2009 17:02, Anthony Minessale wrote:
Quote:
I think we have some trouble surviving issues.
So when everything is ok we do fine but if something goes wrong we
don't recover.
We are still missing state timers in the q931.

maybe you can use your new pcap thing to see what goes wrong =D


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
mike at jerris.com
Guest





PostPosted: Mon Feb 09, 2009 1:45 pm    Post subject: [Freeswitch-users] mod_openzap stops working after some call Reply with quote

We can not add apr dependency in openzap, we should use the native
openzap calls instead. If there is anything you NEED that you don't
have, please let me know and we will try to add replacement functions.

Mike

On Feb 9, 2009, at 1:17 PM, Helmut Kuper wrote:

Quote:
Hello Anthony,


Very Happy yes that's what I'm doing ... beneath some code changes in openzap
... So I found a real timestamp in pcap is quite usefull if you have
more than one call at a time ... I added that function today. It uses
"libapr-1" functions. Unfortunately I introduced a dependency to
libs/apr to openzap by that. If it delivers micro seconds, maybe it's
better to use zap_time_now(). Have to check that tomorrow.

I agree there are some problems in maintaining channel states
correctly.
Once a day I have to restart FS. I get "TOMANYCALLS" errors, no
matching
channels on RELEASE, SETUP duplicates and "oz dump 1" shows more and
more channels with states other than DOWN, even, when no current calls
are there. I did some timebased changes in ozmod_isdn SETUP handling
and hope it helps out until state timers a available. If it works I
would like to upload it to trunk, if you allow.

regards
helmut


On 06.02.2009 17:02, Anthony Minessale wrote:
Quote:
I think we have some trouble surviving issues.
So when everything is ok we do fine but if something goes wrong we
don't recover.
We are still missing state timers in the q931.

maybe you can use your new pcap thing to see what goes wrong =D


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
helmut.kuper at ewetel.de
Guest





PostPosted: Mon Feb 09, 2009 1:48 pm    Post subject: [Freeswitch-users] mod_openzap stops working after some call Reply with quote

Hi Mike,

I would like to have a function which gives current time in sec, usec
since unix epoch. It's only for pcap timestamp. I found a zap_time_now()
somewhere in openzap maybe it helps ...

regards
helmut


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services