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

Johansson Olle E oej at edvina.net
Thu Nov 8 12:02:26 CST 2007


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



More information about the asterisk-users mailing list