[asterisk-users] Capture "Server" header in SIP reply.
Alex Balashov
abalashov at evaristesys.com
Sun May 17 08:54:54 CDT 2009
There is, actually, a Server header. It is the equivalent of User-
Agent for UASs.
--
Sent from mobile device
On May 17, 2009, at 9:19 AM, David Backeberg <dbackeberg at gmail.com>
wrote:
> On Sun, May 17, 2009 at 9:04 AM, Chris Maciejewski
> <chris at wima.co.uk> wrote:
>> Unfortunately SIP_HEADER(FROM) is not an option for me.
>>
>> What I want to do is record in CDRs "User-Agent" header of calling
>> party (this can be easily done with ${CHANNEL(useragent)}), and SIP
>> "Server" header of called party (from 200 OK response to INVITE
>> generated by Asterisk).
>
> Maybe you need a better name for it than server. To me server means
> the hostname / address of the other side of the SIP conversation, aka:
> FROM.
>
> You can use SipAddHeader to make your own X-blah tags for your
> packets, and then pick them off on the other side. I don't seem to
> understand what you mean by 'server', despite my command of the
> english language. Perhaps you want
> ${SIPUSERAGENT}
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list