Displaying 1 result from an estimated 1 matches for "getotherpartyinfo".
2009 May 17
1
Capture "Server" header in SIP reply.
Hi,
I am trying to capture "Server" header in a 200 OK reply message.
My idea was to use Dail(SIP/user at domain,30,M(GetOtherPartyInfo)),
and inside of GetOtherPartyInfo macro use SIP_HEADER function.
For example:
[default]
exten => _X.,1,Dial(SIP/user at domain,30,M(GetOtherPartyInfo))
exten => _X.,n,Hangup()
[macro-GetOtherPartyInfo]
exten => s,1,NoOp(SIP Server: ${SIP_HEADER(Server,1)})
unfortunately the above does...