[SR-Users] $ua in on_reply route not set?

Daniel-Constantin Mierla miconda at gmail.com
Mon Jan 24 17:09:12 CET 2011


Hello,

On 1/24/11 5:03 PM, Bernhard Suttner wrote:
> Hi,
>
> could it be, that the $ua pseudo variable is not set within in a onreply route? (Version 3.1).
no, should be set, there was no change in this regard for quite long 
time. Can you sent the sip reply plus log with debug=3?
>
> What is the best alternative for that? Search()?

The alternative is $hdr(User-Agent) which is practically returning the 
same value as $ua, using generic header search mechanism.

Cheers,
Daniel

-- 
Daniel-Constantin Mierla
http://www.asipto.com




More information about the sr-users mailing list