Parallel forking - which branch answered

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Parallel forking - which branch answered

John Quick
Hi,

I am using parallel forking with a destination set returned by exec_dset.
OpenSIPS v1.8.2
For branches that go to a gateway (no lookup used) I find it very difficult
to identify which branch answered the call.
I am trying to find a variable I can use in on_reply that identifies the
branch's R-URI. All the variables seem to return the original R-URI, not the
one for this branch. If I report $branch(uri) to my log file it has a NULL
value.

John Quick
Smartvox Limited
Web: www.smartvox.co.uk




_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Parallel forking - which branch answered

shaheryarkh
Try $T_ruri?


Make sure you have transaction enable for each branch.

Thank you.




On Fri, Aug 2, 2013 at 3:50 PM, John Quick <[hidden email]> wrote:
Hi,

I am using parallel forking with a destination set returned by exec_dset.
OpenSIPS v1.8.2
For branches that go to a gateway (no lookup used) I find it very difficult
to identify which branch answered the call.
I am trying to find a variable I can use in on_reply that identifies the
branch's R-URI. All the variables seem to return the original R-URI, not the
one for this branch. If I report $branch(uri) to my log file it has a NULL
value.

John Quick
Smartvox Limited
Web: www.smartvox.co.uk




_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



--
Mit freundlichen Grüßen
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: +49 176 99 83 10 85
MSN: [hidden email]
Email: [hidden email]

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Parallel forking - which branch answered

John Quick

Muhammad,


Thank you so much. $T_ruri gives me exactly what I want.

I work with OpenSIPS almost every day, but still there are new things to learn.

 

John

 

From: Muhammad Shahzad [mailto:[hidden email]]
Sent: 02 August 2013 22:03
To: [hidden email]; OpenSIPS users mailling list
Subject: Re: [OpenSIPS-Users] Parallel forking - which branch answered

 

Try $T_ruri?

 

 

Make sure you have transaction enable for each branch.

 

Thank you.

 

 

 

On Fri, Aug 2, 2013 at 3:50 PM, John Quick <[hidden email]> wrote:

Hi,

I am using parallel forking with a destination set returned by exec_dset.
OpenSIPS v1.8.2
For branches that go to a gateway (no lookup used) I find it very difficult
to identify which branch answered the call.
I am trying to find a variable I can use in on_reply that identifies the
branch's R-URI. All the variables seem to return the original R-URI, not the
one for this branch. If I report $branch(uri) to my log file it has a NULL
value.

John Quick
Smartvox Limited
Web: www.smartvox.co.uk




_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



 

--

Mit freundlichen Grüßen

Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: +49 176 99 83 10 85
MSN: 
[hidden email]
Email: 
[hidden email]


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users