Is there no way to configure an outbound proxy when registering? I am
trying to use proxy.siprovider.com as the outbound proxy and
mydomain.com as my fromdomain. However, the fromdomain only seems to
take effect for INVITEs, not for REGISTERs. 


I have the following configuration: 

[general] 
port = 5060 ; Port to bind to 
bindaddr = 10.0.1.1 ; Address to bind SIP channel to 
context = sip-external ; Default context for incoming calls 
tos=reliability ; IP QoS parameter, either keyword or value 
maxexpirey=180 ; Max length of incoming registration we allow 
defaultexpirey=160 ; Default length of incoming/outoing registration 
disallow=all ; Disallow all codecs 
allow=ulaw ; Allow codecs in order of preference 


register => myname:[EMAIL PROTECTED] 

[mysipprovider.com] 
type=peer 
insecure=yes 
insecure=very 
host=proxy.sipprovider.com 
fromdomain=mydomain.com 
username=myname 
secret=mypassword 
canreinvite=no 

The REGISTER looks like: 

REGISTER sip:mydomain.com 
Via: ... 
From: <sip:[EMAIL PROTECTED]>:tag=... 
To: <sip:[EMAIL PROTECTED]> 
.. 

I want the REGISTER to look like: 

REGISTER sip:mydomain.com 
Via: ... 
From: <sip:[EMAIL PROTECTED]>:tag=... 
To: <sip:[EMAIL PROTECTED]> 
.. 

Any insight would be greatly appreciated. 

Thanks, Michael

_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to