[asterisk-users] modifying the INVITE headers

Paco Brufal pbrufal at servitux.es
Mon Sep 11 03:36:03 MST 2006


Hello,

	Here in Spain there is a VoIP provider (Telefonica) that only works
if when you make an outgoing call, the SIP headers are like this:

INVITE sip:<phonenumber>@telefonica.net SIP/2.0

	But Asterisk is sending this:

INVITE sip:<phonenumber>@sbc.ngn.rima-tde.net SIP/2.0

	because "sbc.ngn.rima-tde.net" is the register host.

	My config is this:

sip.conf:
---------
register=828xxx... at telefonica.net:<password>@telip

[telip]
username=828xxxxxx
type=peer
port=5070
secret=<password>
realm=telefonica.net
host=sbc.ngn.rima-tde.net
fromuser=828xxxxxx
fromdomain=telefonica.net
dtmfmode=rfc2833
fullcontact=828xxx... at telefonica.net
---------

	It's possible to change the INVITE headers to put the correct host?

	Thanks.

-- 

Paco Brufal    <pbrufal at servitux.es>
ServiTux Servicios Informáticos S.L.
Tel. 966 160 600 / Fax. 966 160 601


More information about the asterisk-users mailing list