<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>

<META content="MSHTML 6.00.6000.16608" name=GENERATOR></HEAD>
<BODY>
<DIV>
<DIV><SPAN class=707224204-04042008><FONT face=Arial size=2>Hi 
All,</FONT></SPAN></DIV>
<DIV><SPAN class=707224204-04042008><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=707224204-04042008><FONT face=Arial size=2>I am stuck with an 
issue in the Openser+Asterisk Forking. </FONT></SPAN></DIV>
<DIV><SPAN class=707224204-04042008><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=707224204-04042008><FONT face=Arial size=2>In 
this&nbsp;solution we are using Openser as the Registrar. Hence it will store 
all the contact bindings along with the q values for a given user, say ua1. The 
current setup is such that the INVITEs are sent to Asterisk by Openser and 
Asterisk sends out the INVITE.</FONT></SPAN></DIV>
<DIV><SPAN class=707224204-04042008><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=707224204-04042008><FONT face=Arial size=2>Now if ua1 is 
registered with two different contacts having different q values and i make a 
call from ua2 to ua1.</FONT></SPAN></DIV>
<DIV><SPAN class=707224204-04042008><FONT face=Arial size=2>Openser will recieve 
the INVITE check for the multiple contacts of ua1 in the database. and send out 
an INVITE for the first contact. On recieving a 486 busy it sends out an INVITE 
to the second contact. This is where the problems lies.</FONT></SPAN></DIV>
<DIV><SPAN class=707224204-04042008><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=707224204-04042008></SPAN><FONT face=Arial size=2><SPAN 
class=707224204-04042008>Openser is sending Asterisk the second INVITE but none 
of the actions specified in the Dialplan (extensions.conf) of Asterisk seem to 
be executing on reciept of the second INVITE.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=707224204-04042008></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=707224204-04042008><SPAN 
class=936245504-04042008>My extensions.conf looks like 
this:</SPAN></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=707224204-04042008><SPAN 
class=936245504-04042008>&nbsp;&nbsp;&nbsp; exten =&gt; _.,1,NoOp(Incoming Call 
<A 
href="mailto:${EXTEN}@${SIPDOMAIN">${EXTEN}@${SIPDOMAIN</A>})<BR>&nbsp;&nbsp;&nbsp; 
exten =&gt; _.,2,Dial(SIP/${EXTEN})<BR>&nbsp;&nbsp;&nbsp; exten =&gt; 
_.,3,HangUp()<BR>&nbsp;&nbsp;&nbsp; exten =&gt; 
h,4,HangUp()</SPAN></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=707224204-04042008><SPAN 
class=936245504-04042008></SPAN></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=707224204-04042008><SPAN 
class=936245504-04042008></SPAN></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=707224204-04042008><SPAN 
class=936245504-04042008>This is the ouput at the asterisk 
cli:</SPAN></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=707224204-04042008><SPAN 
class=936245504-04042008></SPAN></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=707224204-04042008><SPAN 
class=936245504-04042008>&nbsp;&nbsp;&nbsp; -- Executing [ua1@call:1] 
NoOp("SIP/ua2-0921a250", "Incoming Call <A 
href="mailto:ua1@10.0.16.30">ua1@10.0.16.30</A>") in new 
stack<BR>&nbsp;&nbsp;&nbsp;&nbsp;-- Executing [ua1@call:2] 
Dial("SIP/ua2-0921a250", "SIP/ua1") in new stack<BR>&nbsp;&nbsp;&nbsp; -- Called 
ua1<BR>[Apr&nbsp; 3 17:02:41] NOTICE[20198]: chan_sip.c:2918 auto_congest: 
Auto-congesting SIP/ua1-0921f080<BR>&nbsp;&nbsp;&nbsp; -- SIP/ua1-0921f080 is 
circuit-busy<BR>&nbsp; == Everyone is busy/congested at this time 
(1:0/1/0)<BR>&nbsp;&nbsp;&nbsp;&nbsp;-- Executing [ua1@call:3] 
Hangup("SIP/ua2-0921a250", "") in new stack<BR>&nbsp; == Spawn extension (call, 
ua1, 3) exited non-zero on 'SIP/ua2-0921a250'<BR>&nbsp;&nbsp;&nbsp; -- Executing 
[h@call:1] NoOp("SIP/ua2-0921a250", "Incoming Call from house extension&nbsp; 
for <A href="mailto:h@10.0.16.30">h@10.0.16.30</A>") in new 
stack<BR>&nbsp;&nbsp;&nbsp; -- Executing [h@call:3] Dial("SIP/ua2-0921a250", 
"SIP/h") in new stack<BR>[Apr&nbsp; 3 17:02:51] WARNING[21381]: chan_sip.c:2898 
create_addr: No such host: h<BR>[Apr&nbsp; 3 17:02:51] WARNING[21381]: 
app_dial.c:1191 dial_exec_full: Unable to create channel of type 'SIP' (cause 3 
- No route to destination)<BR>&nbsp; == Everyone is busy/congested at this time 
(1:0/0/1)<BR>&nbsp;&nbsp;&nbsp;&nbsp;-- Executing [h@call:3] 
Hangup("SIP/ua2-0921a250", "") in new stack<BR>&nbsp; == Spawn extension (call, 
h, 3) exited non-zero on 'SIP/ua2-0921a250'</SPAN></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=707224204-04042008>If anyone has any 
inputs on this&nbsp;I would appreciate it..</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=707224204-04042008></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=707224204-04042008>Thanks &amp; 
Regards,<BR>Aadil</SPAN></FONT></DIV></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV></BODY></HTML>