[asterisk-users] SIP: "To:" header?

Tony Mountifield tony at softins.clara.co.uk
Wed Nov 7 07:26:39 CST 2007


Quick question for those who know the innards of chan_sip:

Does chan_sip use the "To:" header of an incoming INVITE request,
for anything other than setting SIP_HEADER(TO) ?

As far as I can tell so far, the target extension is taken from the
request URI, i.e. sip:extension at domain, and the target context
is taken from the section in sip.conf that matches the request's
source IP address. Is that correct?

Cheers
Tony
-- 
Tony Mountifield
Work: tony at softins.co.uk - http://www.softins.co.uk
Play: tony at mountifield.org - http://tony.mountifield.org



More information about the asterisk-users mailing list