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.
Steve,
You would do the required logic inside of branch_route.
Sincerely, Brandon Armstead
On Fri, Oct 5, 2012 at 9:45 AM, Stephen Dodge (Bistech) < Special.Projects@bistech.co.uk> 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@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
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_attribut...
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@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
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).
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_attribut...
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@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.
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_attribut...
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@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@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Stephen, see "transformations" for a full feature list: http://www.kamailio.org/wiki/cookbooks/devel/transformations#uri_transformat...
On 09.10.2012 19:31, Daniel-Constantin Mierla wrote:
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_attribut...
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@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@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users