<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2912" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=770215123-29072006><FONT face=Arial size=2>I dont know if any 
of you use the SIPBroker service to do multi enum lookups, but I'm hoping there 
are some on this list who do.</FONT></SPAN></DIV>
<DIV><SPAN class=770215123-29072006><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=770215123-29072006><FONT face=Arial size=2>I have been using 
SIPBroker for dialing with sip codes only so far and did my enum lookups on my 
own. But now, I decided to set ser up to try sipbroker first for all external 
calls and&nbsp;then fall back to my different gateways if no route can be found 
via SIPBroker.</FONT></SPAN></DIV>
<DIV><SPAN class=770215123-29072006><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=770215123-29072006><FONT face=Arial size=2>SIPBroker, in 
prinicpal,&nbsp;works like this.</FONT></SPAN></DIV>
<DIV><SPAN class=770215123-29072006><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=770215123-29072006><FONT face=Arial size=2>I send an Invite for 
any enum number to SIPBroker.</FONT></SPAN></DIV>
<DIV><SPAN class=770215123-29072006><FONT face=Arial size=2>If sipbroker finds a 
route for that number to another voipprovider&nbsp;it will proxy the call to the 
found provider.</FONT></SPAN></DIV>
<DIV><SPAN class=770215123-29072006><FONT face=Arial size=2>If 
sipbroker&nbsp;can not find a route, it will reply with a redirect of the call 
to my self and&nbsp;I am supposed to&nbsp;handle the call setup my self, through 
my gateways.</FONT></SPAN></DIV>
<DIV><SPAN class=770215123-29072006><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=770215123-29072006><FONT face=Arial size=2>My question is how 
to handle this redirect message?</FONT></SPAN></DIV>
<DIV><SPAN class=770215123-29072006><FONT face=Arial size=2>Any one who has a 
working failure route to handle this situation, and are willing to 
share?</FONT></SPAN></DIV>
<DIV><SPAN class=770215123-29072006><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=770215123-29072006><FONT face=Arial size=2>Here is an actual 
SIP conversation, initiated from Asterisk via SER, of a failed Enum lookup 
through SIPBroker:</FONT></SPAN></DIV>
<DIV><SPAN class=770215123-29072006><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=770215123-29072006><FONT face=Arial size=2>#<BR>U 
212.247.91.XXX:5060 -&gt; 24.196.79.163:5060<BR>INVITE 
sip:4640240252@sipbroker.com SIP/2.0.<BR>Record-Route: 
&lt;sip:212.247.91.XXX;ftag=as5e811304;lr=on&gt;.<BR>Via: SIP/2.0/UDP 
212.247.91.XXX;branch=z9hG4bK7307.c7d88007.0.<BR>Via: SIP/2.0/UDP 
212.247.91.XXZ:5060;branch=z9hG4bK05f7cabc;rport=5060.<BR>From: "Roger Lewau" 
&lt;sip:330000@sip.serverhallen.com&gt;;tag=as5e811304.<BR>To: 
&lt;sip:240252@sip.serverhallen.com&gt;.<BR>Contact: 
&lt;sip:330000@212.247.91.XXZ&gt;.<BR>Call-ID: <A 
href="mailto:6877d50b1343fac25403e06f4a83c280@sip.serverhallen.com">6877d50b1343fac25403e06f4a83c280@sip.serverhallen.com</A>.<BR>CSeq: 
103 INVITE.<BR>User-Agent: Asterisk PBX.<BR>Max-Forwards: 16.<BR>Date: Sat, 29 
Jul 2006 22:42:23 GMT.<BR>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, 
SUBSCRIBE, NOTIFY.<BR>Content-Type: application/sdp.<BR>Content-Length: 
336.<BR>.<BR>v=0.<BR>o=root 850 851 IN IP4 212.247.91.XXZ.<BR>s=session.<BR>c=IN 
IP4 212.247.91.XXZ.<BR>t=0 0.<BR>m=audio 34852 RTP/AVP 0 8 18 97 3 
101.<BR>a=rtpmap:0 PCMU/8000.<BR>a=rtpmap:8 PCMA/8000.<BR>a=rtpmap:18 
G729/8000.<BR>a=fmtp:18 annexb=no.<BR>a=rtpmap:97 iLBC/8000.<BR>a=rtpmap:3 
GSM/8000.<BR>a=rtpmap:101 telephone-event/8000.<BR>a=fmtp:101 
0-16.<BR>a=silenceSupp:off - - - -.</FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><SPAN class=770215123-29072006><FONT face=Arial size=2>##<BR>U 
24.196.79.163:5060 -&gt; 212.247.91.XXX:5060<BR>SIP/2.0 300 Redirect.<BR>Via: 
SIP/2.0/UDP 212.247.91.XXX;branch=z9hG4bK7307.c7d88007.0.<BR>Via: SIP/2.0/UDP 
212.247.91.XXZ:5060;branch=z9hG4bK05f7cabc;rport=5060.<BR>From: "Roger Lewau" 
&lt;sip:330000@sip.serverhallen.com&gt;;tag=as5e811304.<BR>To: 
&lt;sip:240252@sip.serverhallen.com&gt;;tag=b27e1a1d33761e85846fc98f5f3a7e58.fe4c.<BR>Call-ID: 
<A 
href="mailto:6877d50b1343fac25403e06f4a83c280@sip.serverhallen.com">6877d50b1343fac25403e06f4a83c280@sip.serverhallen.com</A>.<BR>CSeq: 
103 INVITE.<BR>Contact: sip:4640240252@sip.serverhallen.com.<BR>Server: Sip 
EXpress router (0.9.4 (i386/linux)).<BR>Content-Length: 0.<BR>Warning: 392 
24.196.79.163:5060 "Noisy feedback tells:&nbsp; pid=15326 
req_src_ip=212.247.91.XXXreq_src_port=5060 in_uri=sip:4640240252@sipbroker.com 
out_uri=sip:4640240252@sip.serverhallen.com 
via_cnt==2".<BR>.</FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><SPAN class=770215123-29072006><FONT face=Arial size=2>#<BR>U 
212.247.91.XXX:5060 -&gt; 24.196.79.163:5060<BR>ACK sip:4640240252@sipbroker.com 
SIP/2.0.<BR>Via: SIP/2.0/UDP 
212.247.91.237;branch=z9hG4bK7307.c7d88007.0.<BR>From: "Roger Lewau" 
&lt;sip:330000@sip.serverhallen.com&gt;;tag=as5e811304.<BR>Call-ID: <A 
href="mailto:6877d50b1343fac25403e06f4a83c280@sip.serverhallen.com">6877d50b1343fac25403e06f4a83c280@sip.serverhallen.com</A>.<BR>To: 
&lt;sip:240252@sip.serverhallen.com&gt;;tag=b27e1a1d33761e85846fc98f5f3a7e58.fe4c.<BR>CSeq: 
103 ACK.<BR>User-Agent: Sip EXpress router(0.9.3 
(i386/freebsd)).<BR>Content-Length: 0.<BR>.</FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><SPAN class=770215123-29072006><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV></BODY></HTML>