[asterisk-users] put the hostname of asterisk in the callerid uri to avoid NAT problems

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Tue Feb 10 09:48:31 CST 2009


On Tuesday 10 February 2009 04:36:09 nik600 wrote:
> On Sat, Feb 7, 2009 at 8:31 AM, nik600 <nik600 at gmail.com> wrote:
> > I've tried to force SIP_HEADER(CONTACT) in the dialplan with a Set but
> > it seems that i can't due to security reason.
> >
> > Is it possible to avoid this problem?
>
> Do you think that is a bug or a miss configuration, or simply is not
> possible to avoid that because it is hard-coded?

The issue isn't a security reason; it's that SIP_HEADER() is a read-only
function.  Try using the SIPAddHeader application, instead.

-- 
Tilghman



More information about the asterisk-users mailing list