[Asterisk-Users] preserve hostname for INVITE request-uri

Martin Pycko martinp at digium.com
Thu Apr 17 11:22:19 MST 2003


Just define it as peer in sip.conf and register with asterisk
or just state it's ip with host= like this:

[proxy]
type=peer
secret=password
host=ip_address_of_proxy

and then

Dial,SIP/${EXTEN}@proxy

regards
Martin

On Thu, 17 Apr 2003, Howard Lin wrote:

> My * server is connected with a SIP proxy, which handles different domains. So to dial a number in the SIP proxy domain from a phone on *, I use Dial(SIP/1234 at domain1.com). The problem is that the Dial convert domain1.com to IP address, which causes the SIP proxy returns a 404. I'm wondering if host name can be preserved at least in the request-uri (To header can be optional.) Thanks,
>
> Howard Lin
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
>





More information about the asterisk-users mailing list