[asterisk-ss7] chan_ss7 SAM and overlap signaling

Ercan Yücebas ercan at goldenphone.ch
Wed Feb 28 17:05:44 MST 2007


It looks like that chan_ss7 is checking whether the incoming number
matches any extension, just before it gets the whole number?
Therefore chan_ss7 doesn’t expect other SAM's, because there is not a
matching extension
After that it never goes to second choise, where it starts the timer,
RIGHT?

My ;
enable_st is yes


static void check_iam_sam(struct ss7_chan* pvt)
{
  int complete = (pvt->link->linkset->enable_st &&
pvt->iam.dni.complete) ||
    ast_exists_extension(pvt->owner, pvt->context, pvt->iam.dni.num, 1,
pvt->iam.rni.num);
  if (complete) {
    pvt->iam.dni.complete = 1;
    ast_log(LOG_DEBUG, "Setting iam.dni.complete\n");
    handle_complete_address(pvt);
  } else {
    if (ast_canmatch_extension(pvt->owner, pvt->context,
pvt->iam.dni.num, 1, pvt->iam.rni.num) != 0) {
      ast_log(LOG_DEBUG, "Processing addr %s, incomplete, starting
T35\n", pvt->iam.dni.num);
      t35_start(pvt);
    }
    else {
      ast_log(LOG_DEBUG, "Unable to match extension, context: %s, dni:
%s, rni: %s\n", pvt->context, pvt->iam.dni.num, pvt->iam.rni.num);
      initiate_release_circuit(pvt, AST_CAUSE_UNALLOCATED);
    }
  }
}




-----Original Message-----
From: Ercan Yücebas [mailto:ercan at goldenphone.ch] 
Sent: Donnerstag, 1. März 2007 00:23
To: 'asterisk-ss7 at lists.digium.com'
Subject: RE: [asterisk-ss7] chan_ss7 SAM and overlap signaling

Hi

I think chan_ss7 is not waiting enough for SAM's

Maybe there is an wrong conditional statement in source, that complets
digit receipt or maybe t35?

And what we are experiencing here is also, if the other switch start
sending slowly overlap then chan_ss7 sends a CON and basically this is
the finish of dialing.

BR
Ercan



-----Original Message-----
From: asterisk-ss7-bounces at lists.digium.com
[mailto:asterisk-ss7-bounces at lists.digium.com] On Behalf Of Kai Militzer
Sent: Mittwoch, 28. Februar 2007 13:33
To: asterisk-ss7 at lists.digium.com
Subject: Re: [asterisk-ss7] chan_ss7 SAM and overlap signaling

Hello everyone,

On 28.02.2007 13:04, Kristian Nielsen wrote:
>> Feb 28 10:27:26 WARNING[11663] chan_ss7.c: Received SAM on CIC=1, but
>> got no IAM, state=5.

> Could be a bug in chan_ss7 then, or the other end doing something
strange.

There definitively is a bug in 0.8.4 in the handling of SAM overlapped
dialing. I don't know if it is fixed in 0.9 as I don't use it, but in
0.8.4
I needed to patch it. I will look what the problem was exactely and post
the patch if wanted.

Best regards,
Kai

-- 
Kai Militzer                  WESTEND GmbH  |
Internet-Business-Provider
Technik                       CISCO Systems Partner - Authorized
Reseller
                              Lütticher Straße 10      Tel
0241/701333-14
km at westend.com                D-52064 Aachen              Fax
0241/911879
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
Die Gesellschaft ist eingetragen im Handelsregister Aachen unter HRB
7608
Geschäftsführer:           Thomas Neugebauer, Thomas Heller, Michael
Kolb
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-ss7 mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-ss7



More information about the asterisk-ss7 mailing list