What is the equal option for externip in asterisk 13 with pjsip. I have tried
but asterisk 13 writes local ip to the from header. any suggestions?
Best Regards, Madushan
Setting ‘from_domain’ on the endpoint will do it. Are you having issues with an internal address being used in the “From” header?
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
The client AOR is not getting registered.
On Thu, Sep 15, 2016 at 8:38 AM, Madushan Geethanga
What type of device/softphone is the client?
Is the client trying to respond back to the address in the From header instead of the Contact header?
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.
On Fri, Sep 16, 2016 at 5:55 AM, Madushan Geethanga
Ok, did setting from_domain work?
Can i put fromdomain in endpoint configuration?
Sent from my iPhone
The pabx is on amazon cloud
Yes, from_domain goes in the endpoint or a template for an endpoint .
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.