On 10/9/12 5:45 PM, Stephen Dodge (Bistech) wrote:
Thanks Klaus, I did look through the cookbook but I
couldn't see anything that would allow me to access the domain directly, I thought
there might be a module that could offer that functionality.
I will look at some find/replace scripting on the $branch(uri).
$(branch(uri)[$var(i)]{uri.domain}) should return what you look for in
the branch at position i.
Cheers,
Daniel
Thanks,
Stephen Dodge
Tel: +44(0)1202 863210 | Fax: +44(0)1202 863291 | Web: bistech.co.uk
-----Original Message-----
From: Klaus Darilion [mailto:klaus.mailinglists@pernau.at]
Sent: 09 October 2012 16:18
To: SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - Users Mailing List
Cc: Stephen Dodge (Bistech)
Subject: Re: [SR-Users] How can I directly access the domain of additional branches??
In such cases you should search on the pseudo-variables wiki page for the relevant key
word, in this case "branch":
http://www.kamailio.org/wiki/cookbooks/3.3.x/pseudovariables#branch_attribu…
regards
Klaus
On 05.10.2012 18:45, Stephen Dodge (Bistech) wrote:
Hello,
Could someone advise if it is possible to directly access the domain
of additional branches as $rd references the domain of the main URI only.
If it's not possible does anyone have any tips on how I can achieve this.
Many Thanks.
*Steve.*
----------------------------------------------------------------------
--
Information in this message, including any attachments, is
confidential to the person to whom it is addressed and may be legally
privileged. If you are not the intended recipient please notify the
sender and delete the message from your system. Please note that
Bistech Group plc, Bistech plc, Bisnet Limited and the sender do not
accept any responsibility for viruses. It is your responsibility to
check the e-mail and any attachments for viruses. Calls may be monitored and recorded.
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
list sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
________________________________
Information in this message, including any attachments, is confidential to the person to
whom it is addressed and may be legally privileged. If you are not the intended recipient
please notify the sender and delete the message from your system. Please note that Bistech
Group plc, Bistech plc, Bisnet Limited and the sender do not accept any responsibility for
viruses. It is your responsibility to check the e-mail and any attachments for viruses.
Calls may be monitored and recorded.
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla -
http://www.asipto.com
http://twitter.com/#!/miconda -
http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Berlin, Nov 5-8, 2012 -
http://asipto.com/u/kat
Kamailio Advanced Training, Miami, USA, Nov 12-14, 2012 -
http://asipto.com/u/katu