VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
abdul_zu at yahoo.com Guest
|
Posted: Tue Jan 08, 2008 8:52 am Post subject: [asterisk-users] Bugs?? |
|
|
Good Day All,
I am facing a serious problem since I started to use asterisk. I don?t know if it is a bug or some one already solved this.
Currently I am running 120 VoIP SIP channels on my asterisk server but each day 2, 3 calls got hanged in asterisk, and on asterisk CLI ?show channels? showing us as call UP but in real there is no call.
When asterisk restarted the hanged calls removed from CLI with very high duration which damaged our billing system and customers accounts goes in high negative.
First I tried to get call info from asterisk mysql CDR using billsec field but the same result then I create PERL AGI to get duration from ?ANSWEREDTIME? and same result.
Please have a look to the following URL which I put the result of ?show channel <channelname>? you can see the DIALSTATUS=CONGESTION but Elapsed Time: 20h54m16s which really strange and out of my mind to control such as call.
http://www.emafone.net/bugs.html
Please advice us if it is Bug and solved in some ver or its need some configuration to avoid this issue.
This is in both ver of asterisk 1.2 and 1.4
--------
Regard,
---------------------------------
Looking for last minute shopping deals? Find them fast with Yahoo! Search.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080108/9c1fdff6/attachment.htm |
|
Back to top |
|
|
michiel at vanbaak.info Guest
|
Posted: Tue Jan 08, 2008 1:06 pm Post subject: [asterisk-users] Bugs?? |
|
|
Quote: | Quote: | Currently I am running 120 VoIP SIP channels on my asterisk server
but each day 2, 3 calls got hanged in asterisk, and on asterisk CLI
"show channels" showing us as call UP but in real there is no call.
When asterisk restarted the hanged calls removed from CLI with very
high duration which damaged our billing system and customers
accounts goes in high negative.
First I tried to get call info from asterisk mysql CDR using billsec
field but the same result then I create PERL AGI to get duration
from "ANSWEREDTIME" and same result.
Please have a look to the following URL which I put the result of
"show channel <channelname>" you can see the DIALSTATUS=CONGESTION
but Elapsed Time: 20h54m16s which really strange and out of my mind
to control such as call.
http://www.emafone.net/bugs.html
Please advice us if it is Bug and solved in some ver or its need
some configuration to avoid this issue.
This is in both ver of asterisk 1.2 and 1.4
|
|
I guess you have a call to the Congestion dialplan function.
We found out in some locations this will go on forever.
A simple fix is to give the Congestion function call a max
duration like: exten => foo,n,Congestion(3) followed by a
Hangup()
--
Michiel van Baak
michiel at vanbaak.eu
http://michiel.vanbaak.eu
GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x71C946BD
"Why is it drug addicts and computer afficionados are both called users?" |
|
Back to top |
|
|
abdul_zu at yahoo.com Guest
|
Posted: Tue Jan 08, 2008 2:33 pm Post subject: [asterisk-users] Bugs?? |
|
|
We are not using any GSM Gateway for call carriers we have
Asterisk ----> TELES(iSWITCH) -------> MCI
As Teles is world class telecoms product it should not make poor protocol stack.
In my AGI script already i am using
TIMEOUT(absolute)to limit the call according to registrar balance.
I am thinking my be exten => foo,n,Congestion(3) function can solve
the issue but how i can call this i should call it after dial or before?
is (3) is max Congestion time?
Thank You
Abdul <abdul_zu at yahoo.com> wrote:
Abdul <abdul_zu at yahoo.com> wrote: Good Day All,
I am facing a serious problem since I started to use asterisk. I don?t know if it is a bug or some one already solved this.
Currently I am running 120 VoIP SIP channels on my asterisk server but each day 2, 3 calls got hanged in asterisk, and on asterisk CLI ?show channels? showing us as call UP but in real there is no call.
When asterisk restarted the hanged calls removed from CLI with very high duration which damaged our billing system and customers accounts goes in high negative.
First I tried to get call info from asterisk mysql CDR using billsec field but the same result then I create PERL AGI to get duration from ?ANSWEREDTIME? and same result.
Please have a look to the following URL which I put the result of ?show channel <channelname>? you can see the DIALSTATUS=CONGESTION but Elapsed Time: 20h54m16s which really strange and out of my mind to control such as call.
http://www.emafone.net/bugs.html
Please advice us if it is Bug and solved in some ver or its need some configuration to avoid this issue.
This is in both ver of asterisk 1.2 and 1.4
--------
Regard,
---------------------------------
Looking for last minute shopping deals? Find them fast with Yahoo! Search.
---------------------------------
Looking for last minute shopping deals? Find them fast with Yahoo! Search.
--------
Regard,
---------------------------------
Looking for last minute shopping deals? Find them fast with Yahoo! Search.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080108/cc91db74/attachment.htm |
|
Back to top |
|
|
abdul_zu at yahoo.com Guest
|
Posted: Tue Jan 08, 2008 3:07 pm Post subject: [asterisk-users] Bugs?? |
|
|
Sorry i forget to give my extentions config.
[clientsG]
exten => _x.,1,Set(UserN=${CALLERID(all)})
exten => _x.,2,Set(CalledNum=${EXTEN})
exten => _x.,3,Set(Stime=${DATETIME})
exten => _x.,4,Set(CID=${CALLERID})
exten => _x.,5,Set(HCA=${HANGUPCAUSE})
exten => _x.,6,Set(Cun=${UNIQUEID})
exten => _x.,7,AGI(routing.pl)
exten => h,1,DeadAGI(stop.pl)
exten => h,1,Hangup
routing.pl
$AGI->exec('Set',"TIMEOUT(absolute)=$cstatus");
my $dialstr = "$gwtype/$gwip/$dialednum";
$AGI->exec('Dial', $dialstr); #//Dial the number
Abdul <abdul_zu at yahoo.com> wrote: We are not using any GSM Gateway for call carriers we have
Asterisk ----> TELES(iSWITCH) -------> MCI
As Teles is world class telecoms product it should not make poor protocol stack.
In my AGI script already i am using
TIMEOUT(absolute)to limit the call according to registrar balance.
I am thinking my be exten => foo,n,Congestion(3) function can solve
the issue but how i can call this i should call it after dial or before?
is (3) is max Congestion time?
Thank You
Abdul <abdul_zu at yahoo.com> wrote:
Abdul <abdul_zu at yahoo.com> wrote: Good Day All,
I am facing a serious problem since I started to use asterisk. I don?t know if it is a bug or some one already solved this.
Currently I am running 120 VoIP SIP channels on my asterisk server but each day 2, 3 calls got hanged in asterisk, and on asterisk CLI ?show channels? showing us as call UP but in real there is no call.
When asterisk restarted the hanged calls removed from CLI with very high duration which damaged our billing system and customers accounts goes in high negative.
First I tried to get call info from asterisk mysql CDR using billsec field but the same result then I create PERL AGI to get duration from ?ANSWEREDTIME? and same result.
Please have a look to the following URL which I put the result of ?show channel <channelname>? you can see the DIALSTATUS=CONGESTION but Elapsed Time: 20h54m16s which really strange and out of my mind to control such as call.
http://www.emafone.net/bugs.html
Please advice us if it is Bug and solved in some ver or its need some configuration to avoid this issue.
This is in both ver of asterisk 1.2 and 1.4
--------
Regard,
---------------------------------
Looking for last minute shopping deals? Find them fast with Yahoo! Search.
---------------------------------
Looking for last minute shopping deals? Find them fast with Yahoo! Search.
--------
Regard,
---------------------------------
Looking for last minute shopping deals? Find them fast with Yahoo! Search.
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080108/698f6fc2/attachment.htm |
|
Back to top |
|
|
asterisk.org at sedwar... Guest
|
Posted: Tue Jan 08, 2008 3:56 pm Post subject: [asterisk-users] Bugs?? |
|
|
On Tue, 8 Jan 2008, Abdul wrote:
Quote: | Sorry i forget to give my extentions config.
[clientsG]
exten => _x.,1,Set(UserN=${CALLERID(all)})
exten => _x.,2,Set(CalledNum=${EXTEN})
exten => _x.,3,Set(Stime=${DATETIME})
exten => _x.,4,Set(CID=${CALLERID})
exten => _x.,5,Set(HCA=${HANGUPCAUSE})
exten => _x.,6,Set(Cun=${UNIQUEID})
exten => _x.,7,AGI(routing.pl)
exten => h,1,DeadAGI(stop.pl)
exten => h,1,Hangup
|
Unrelated to your problem, but here's a suggestion -- use "n" instead of
explicitly numbering your priorities. Like:
[clientsG]
exten => _x.,1,Set(UserN=${CALLERID(all)})
exten => _x.,n,Set(CalledNum=${EXTEN})
exten => _x.,n,Set(Stime=${DATETIME})
exten => _x.,n,Set(CID=${CALLERID})
exten => _x.,n,Set(HCA=${HANGUPCAUSE})
exten => _x.,n,Set(Cun=${UNIQUEID})
exten => _x.,n,AGI(routing.pl)
exten => h,1,DeadAGI(stop.pl)
exten => h,n,Hangup
Note that your hangup duplicated the h,1 priority.
Also, if you are setting these channel variables just so they can be
picked up by your AGI, you can pass variables to the AGI application.
Like:
AGI(routing.pl,${CALLERID(all)},${EXTEN})
or
AGI(routing.pl,--callerid=${CALLERID(all)},--exten=${EXTEN})
Since most of these are already being passed to your AGI in the AGI
environment, passing them again on the command line would be a bit
redundant.
Thanks in advance,
------------------------------------------------------------------------
Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000 |
|
Back to top |
|
|
asterisk.org at sedwar... Guest
|
Posted: Tue Jan 08, 2008 4:19 pm Post subject: [asterisk-users] Bugs?? |
|
|
On Tue, 8 Jan 2008, Steve Edwards wrote:
Quote: | or
AGI(routing.pl,--callerid=${CALLERID(all)},--exten=${EXTEN})
|
Oops -- assuming you use getopt_long() (or it's Perl equivalent).
Thanks in advance,
------------------------------------------------------------------------
Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000 |
|
Back to top |
|
|
|
|
|
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
|