On Mon, Aug 28, 2017, at 05:45 AM, Benoit Panizzon wrote: > Hello List > > > I work at an SIP Provider and we have added and SBC in front of our > > Voice Switch to protect it. > > Well using two peers for incomming and outgoing calls solve the > previous issue. > > Now I have a new one. > > The SBC in use needs to match incomming calls from the asterisk with > the call id used in the registration. > > We have tested this with a couple of PBX, which do use the call ID used > during registration automatically for outbound invites. > > Not so my asterisk server. > > So I assumed that when I refer to a 'peer' definition in the register > statement, I could make asterisk understand, that the registration and > outgoing peers belong together and then use the same call ID.
Can you define what exactly you mean by call id? If you are referring to the Call-ID SIP header that's not how it works. It's unique within a dialog and not reused like that[1][2]. [1] https://tools.ietf.org/html/rfc3261#page-37 [2] https://tools.ietf.org/html/rfc3261#section-20.8 -- Joshua Colp Digium, Inc. | Senior Software Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - US Check us out at: www.digium.com & www.asterisk.org -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users