[sr-dev] received transport protocol pvar?

Juha Heinanen jh at tutpro.com
Sun Dec 20 08:56:06 CET 2009


i couldn't find a pvar that would contain the transport protocol of
received request as string.  

ir would be handy, for example, if i want to send the request out using
the same transport it came in, for example:

$du = "sip:SOME_IP:SOME_PORT;transport=" + $proto;

i know that i can test PROTO and then set a pvar based on it, but the
above would be more convenient.

-- juha





More information about the sr-dev mailing list