[Users] Is there a way to leave a route block and return to it where you left?
Brandon Price
brandon.price at hostrocket.com
Tue Jun 27 20:43:42 CEST 2006
I have a route block that performs callerid name lookups for
incoming calls. I want to leave this as a separate route block, and
not include it into the incoming route for simplicity of development.
I basically want to hop out of route 2 down to route 101, then hop
back to route 2 under the line that is pointed to. Any clues,? can
this even be done or does the structure of the tm (being stateless)
limit it? Is there a way to hop to a certain line number of a route
like say route(2,4); going to route 2 line 4. I dunno.
###############################################################
# INCOMING
###############################################################
route[2]
{
xlog("INVITE Received (incoming): $fu -> $ru");
setflag(1);
strip(1);
route(101); <---
do more stuff .........................................
########################################################################
##################################
# CNAM
########################################################################
#################################
route[101]
{
xlog("Running cnam query");
# do some stuff....
return;
};
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20060627/9fe19bb7/attachment.htm>
More information about the sr-users
mailing list