Summary:ASTERISK-09563: When answering, line from CO continues to ring.
Reporter:Chris Craft (n00dle)Labels:
Date Opened:2007-05-31 18:55:01Date Closed:2007-06-08 18:20:35
Versions:Frequency of
Environment:Attachments:( 0) 9851_debug.patch.txt
( 1) ernestine.report.txt
( 2) ernestine.report2.txt
Description:If I use SLATrunk on an incoming call, then the line doesn't seem to pick up properly, just goes to what I can only describe as high-impedance monitor rather than off-hook, as I hear audio, but the CO still is sending ringing pulse down the line.  My hardware is Ok, because when I Dial(SIP/myexten), the line is properly answered.  Configuration:
Linux ernestine 2.6.20-15-server #2 SMP Sun Apr 15 07:41:34 UTC 2007 i686 GNU/Linux
Ubuntu Server 7.04
Asterisk 1.4.4
Rhino R8FXX (1-6 FXO, 7-8 FXS)


sla.conf, extensions.conf, zapata.conf and verbose(20) cli log and /var/log/asterisk/messages excerpts attached.
Comments:By: Russell Bryant (russell) 2007-06-01 13:52:52

The line that is most concerning here is this:

[May 31 13:06:51] WARNING[14379]: app_meetme.c:2767 admin_exec: Conference number 'SLA_line3' not found!

Above this, you can see that when SLATrunk() was executed, it created a conference called 'SLA_line3'.  So, sometime between then and when you answer, it disappeared.  I'm going to upload a patch in a few minutes that adds some additional debug output so I can try to figure out where it disappearing.

Please install the patch and provide the output when you try this same scenario.

$ cd src/asterisk-1.4
$ patch -p0 < thepatch.txt

By: Chris Craft (n00dle) 2007-06-01 16:07:00

Ran the patch and got what you see in ernestine.report2.txt on the cli... behaviour differences:
 No longer flashing the BLF light on my GXP2000 --- it's ringing like a normal sip call to the phone (flashing the "line 1" button which is sip account one, not the button that's assigned to trunk3).

By: Russell Bryant (russell) 2007-06-05 10:56:06

You never uploaded the second set of debug output

By: Chris Craft (n00dle) 2007-06-05 11:45:35

RE: Second debug - Could've sworn I had uploaded it, but here it is now...

By: Russell Bryant (russell) 2007-06-05 16:20:33

I made a fix to 1.4 and trunk in revisions 67492 and 67493.  Please update and give it another try.  You don't need my old patch from here applied.

If you are still having a problem.  The output of "sla show stations", "sla show trunks", and "sip show subscriptions" would also be useful.

By: Chris Craft (n00dle) 2007-06-08 18:01:23

Looks good, now to hack on the result codes in apps/app_meetme.c under SLA trunks and ring timeouts. THANKS!

By: Russell Bryant (russell) 2007-06-08 18:20:34

Closed as the reporter has verified the fix.

I'm glad it works now.  :)