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

Tony Mountifield tony at softins.clara.co.uk
Fri Nov 9 04:15:12 CST 2007


Thanks, Olle!

Cheers
Tony

In article <A3B6608A-D00F-4D68-B0E9-C4EAADB3610F at edvina.net>,
Johansson Olle E <oej at edvina.net> wrote:
> 
> 7 nov 2007 kl. 14.26 skrev Tony Mountifield:
> 
> > 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) ?
> No. Like e-mail software not using the To: header in the actual e-mail.
> 
> > 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?
> 
> Or by matching a user section by From: username.
> 
> /O
-- 
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