Asterisk 13 Externip

Home » Asterisk Users » Asterisk 13 Externip
Asterisk Users 9 Comments

Hi,

What is the equal option for externip in asterisk 13 with pjsip. I have tried

external_media_address=XX.XX.XX.XX
external_signaling_address=XX.XX.XX.XX

but asterisk 13 writes local ip to the from header. any suggestions?

Best Regards, Madushan

9 thoughts on - Asterisk 13 Externip

  • Setting ‘from_domain’ on the endpoint will do it. Are you having issues with an internal address being used in the “From” header?

  • Hi,

    Thanks for the reply.

    Yes my PABX is on the cloud when I try to register to the server, the server sends registration OK with public address but OPTION method includes the private address of the server in from header not the public address. I have include both

    external_media_address=XX.XX.XX.XX
    external_signaling_address=XX.XX.XX.XX
    local_net=XX.XX.XX.XX

    The client AOR is not getting registered.

    Best Regards, Madushan

  • Hi,

    Tried with both softphone (Ekiga) and snom IP phone, contact header contains the public IP. but from header contains the private IP. after OPTIONS method sent by the server. client sends an Register with expires 0.

    Best Regards, Madushan

  • Hi,

    Thanks for the reply. I have re installed asterisk and tested with from_domain and it started working fine. Thanks a lot. I’ll test more and let you know.

    Best Regards, Madushan