[Asterisk-Users] Keeping the user name in sip INVITE with fixed IP host routing.

Ricardo Monteiro ricardo.monteiro at aveiro.nec.pt
Fri Mar 17 06:19:44 MST 2006


Hi,

 

            I would like to set a sip phone for a user with fixed IP but
I would like also to keep the user name in the invite, how is that
possible? Is there any sip.conf setting that can be used for that?

 

My sip.conf

...

;

[rui]

type=friend

secret=oit

host=127.98.12.88

canreinvite=no

;

 

This situation generates INVITEs like this:

 

INVITE sip:127.98.12.88 SIP/2.0

Via: SIP/2.0/UDP 127.98.12.80:5060;branch=z9hG4bK57eebc02;rport

From: "919784234" <sip: 919784234 at 127.98.12.80>;tag=as07a81cee

To: <sip:127.98.12.105 >

...

 

But I'm interested in having something like this, with the "rui@" part.
This type of INVITE is sent when we have a dynamic user registering
(host=dynamic):

 

INVITE sip: rui at 127.98.12.88 SIP/2.0

Via: SIP/2.0/UDP 127.98.12.136:5060;branch=z9hG4bK24e58ee2;rport

From: "062" <sip:062 at 127.98.12.136>;tag=as540f70c2

To: <sip:rui at 127.98.12.106>

 

Is there a way I can use static registering without loosing the user
name on the "To" field?

 

Thanks for any help.

 

Ricardo

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060317/47eccbe0/attachment.htm


More information about the asterisk-users mailing list