Hi Doug, The rules on reply are not really implemented - because they were never required by anyone until now :). So, no, you can not do what you want with the B2BUA module.
Regards, -- Anca Vamanu www.voice-system.ro On 10/29/2010 05:14 PM, Doug wrote: > Hi All, > > I am hoping you can shed some light into a difficult spot I'm having. > > Currently, my one supplier is sending back Early Media (183 + SDP) when > there is a problem (such as number not available), instead of a SIP > response code. This in turn causes grief, as my system passes this > session onto the client. > > I wanted to know if its possible in the event of receiving a 183 from > this specific supplier, to reply with a CANCEL and then engage a new > route, or to send a 50x back to the client. > > Based on the above, I am guessing I need to use the b2bua module, > however, I don't see a way to identify a reply from the server id with a > 183: > > I had something like this in mind: > > <rules> > <reply> > <183> > <rule id="1"> > <condition> > <state>1</state> > <sender> > <type>server</type> > <id>server1</id> > </sender> > </condition> > <action> > <send_reply> > <code>CANCEL</code> > <reason></reason> > </send_reply> > ... > </action> > </rule> > </183> > </reply> > </rules> > > > Any suggestions if this is possible? > > Many thanks > Doug > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
