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.

But how do I refer to a peer in the registration statement?

I did try different variants of:

register => sip-user@sip-outbound

[sip-outbound]
username=sip-user
secret=go-fishing
type=peer
host=asterisk-pbs.example.com
outboundproxy=ip.address.of.proxy
insecure=invite,port
qualify=yes
dtfmmode=auto
canreinvite=yes
context=from-sip
nat=no
t38pt_udptl=yes

But that is not matching.

If course if I do:

register=>sip-u...@asterisk-pbs.example.com:go-fish...@ip.address.of.proxy

registration is successfull, but invites sent via dial
sip://callerid@sip-outbound do not match the call ID used during
registration.

Anyone a hint how to make asterisk properly use the call ID of the
registration?

-BenoƮt Panizzon-
-- 
I m p r o W a r e   A G    -    Leiter Commerce Kunden
______________________________________________________

Zurlindenstrasse 29             Tel  +41 61 826 93 00
CH-4133 Pratteln                Fax  +41 61 826 93 01
Schweiz                         Web  http://www.imp.ch
______________________________________________________

-- 
_____________________________________________________________________
-- 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

Reply via email to