[asterisk-users] Solved: Re: Asterisk 13.18.3 PJSIP. Wrong Port in Contact Header in Reply to REGISTER?

Benoit Panizzon benoit.panizzon at imp.ch
Mon Jan 13 08:45:23 CST 2020

Hi Joshua

Thank you for your reply.

Indeed, Ubuntu only ships with this old version. Upgraded to 16.2. via
PPA. Problem persisted.

Well, I already mentioned that this is a machine with two physical
interfaces with different routes which on the 'external' side handles
SIP customer registrations and has an 'internal' IC Trunk to a
commercial Voice Switch via private IP Range.

I had the problem, that some of the packets sent out on the 'external'
side contained 'private' IP addresses in either signaling or SDP.

So I threw all options I could find into the config to bind
transports, endpoints, media and so on to the corresponding interface ip
address. First this looked good. I had the correct IP in every header
and SDP I expected.

well setting under transport:

external_signaling_address=[local IP]

Assuming this is the own interface IP that would be told to external
endpoints was obviously wrong.

In the end this caused the Proxy-SBC to believe it was not getting an
OK to it's forwarded registration and discard this session.

Mit freundlichen Grüssen

-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