Hi ,

that's not correct - you shouldn't route sequential request based on user location, but based on Route headers. Roughly :

if (is_method("REFER")) {
   loose_route();
   t_relay();
   exit;
}

regards,
bogdan

Frogger wrote:

Thanks for the quick response,

So basically its as simple as:

if (method=="REFER") {

  #routing code here or

  if (lookup("location")) {

     # or routing code here

 }

}

Does that sound right?


Rock


--- Bogdan-Andrei Iancu <[EMAIL PROTECTED]>
wrote:

Hi,

you need to process the REFER as an within the
dialog request - it has to tag so you have to route it based on Route
headers (via loose_route).

regards,
bogdan

Frogger wrote:

I have a successful implementation of openser 0.9.5
and its been working very nicely.

I am faced with transferring of calls from pstn to
userC by way of userB and I am struggling.

path:

PSTN=>GW=>SBC=>openser=>uB

uB transfers call to uC

Call is failing to transfer as "refer" message is
not
properly handled by my openser script.

Any guidance would be appreciated.

Transfer works when all legs are from registered
clients.  Only when the initial call leg is from
the
PSTN does it not work.

Thanks, Rock


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam
protection around
http://mail.yahoo.com
_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users





__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com


_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users

Reply via email to