Summary:ASTERISK-00916: [patch] Add SIPFROM variable
Reporter:Olle Johansson (oej)Labels:
Date Opened:2004-01-26 15:10:49.000-0600Date Closed:2011-06-07 14:04:51
Versions:Frequency of
Environment:Attachments:( 0) sipfrom.txt
Description:This patch introduces a new variable, called SIPFROM. It contains the full From: header - caller name and ID. This id is set by the phone calling you, so it can't always be trusted. Useful if you're using autocreatepeer, to store user name and contact, not only the user part.
Comments:By: Brian West (bkw918) 2004-01-26 21:05:19.000-0600

Can you provide an example on how this would be used.  Because wouldn't ${EXTEN} + ${SIPDOMAIN} be the same thing?

By: Olle Johansson (oej) 2004-01-27 03:11:03.000-0600

SIPDOMAIN is the domain the call is placed to. This is the callee, the "sender". I might not want to accept calls from certain domains or want to know who's registrering when I'm using AUTOCREATEPEER.

By: Olle Johansson (oej) 2004-03-23 11:58:04.000-0600

test if this works with current cvs

By: Olle Johansson (oej) 2004-03-24 14:19:01.000-0600

Latest patch works with CVS.

By: twisted (twisted) 2004-04-29 08:48:57

What's going on with this?

By: Mark Spencer (markster) 2004-05-01 21:30:01

It would have to be documented at the very least in README.variables.

By: Olle Johansson (oej) 2004-05-24 15:08:03

No interest from submitter :-)