[asterisk-users] Outbound Calls via Proxy to use Call ID from registration
Benoit Panizzon
benoit.panizzon at imp.ch
Mon Aug 28 03:45:11 CDT 2017
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 at 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-user at asterisk-pbs.example.com:go-fishing at 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
______________________________________________________
More information about the asterisk-users
mailing list