Hi Mark. The 'fromdomain' directive in sip.conf just sets the 'From:' field in 
the SIP header. This is different to the request URI. It's a major pain in the 
ass because most SIP proxies (OpenSER in this case) route based on the request 
URI. Asterisk is setting the request URI to sip:192.168.10.40 where 
192.168.10.40 is the IP address of the peer/proxy. Grrrr!

        -----Original Message----- 
        From: Marc Storck [mailto:[EMAIL PROTECTED] 
        Sent: Sat 12/10/2005 7:34 PM 
        To: Asterisk Users Mailing List - Non-Commercial Discussion 
        Cc: 
        Subject: Re: [Asterisk-Users] Setting Request URI
        
        

        Hello Douglas,
        
        I don't know if this is exactly what you need, but the "fromdomain" and
        "fromuser" in sip.conf (explained here:
        http://www.voip-info.org/wiki-Asterisk+config+sip.conf) change the From:
        header to [EMAIL PROTECTED]
        
        Regards,
        
        Marc
        
        Douglas Garstang wrote:
        > Does anyone know how to set the request URI of SIP messages being 
sent from Asterisk to a peer? Asterisk always puts the IP address or hostname 
of the peer in the request URI. Eventhough Asterisk's SRV lookups are broken, 
I'd really like to put a domain name in the request URI (makes OpenSER routing 
easier and more logical).
        > 
        > Anyone know how to do this?
        > 
        > Doug.
        > 
        >
        >
        > 
------------------------------------------------------------------------
        >
        > _______________________________________________
        > --Bandwidth and Colocation provided by Easynews.com --
        >
        > Asterisk-Users mailing list
        > To UNSUBSCRIBE or update options visit:
        >    http://lists.digium.com/mailman/listinfo/asterisk-users
        
        _______________________________________________
        --Bandwidth and Colocation provided by Easynews.com --
        
        Asterisk-Users mailing list
        To UNSUBSCRIBE or update options visit:
           http://lists.digium.com/mailman/listinfo/asterisk-users
        

<<winmail.dat>>

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

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

Reply via email to