[Serusers] "safety" BYE sip message

Tom Samplonius tom at sdf.com
Wed Oct 13 07:25:34 CEST 2004


Jaime Garcia wrote:

>Is there a way to send a "safety" BYE sip message ?
>
>In case the user agent crashes during a PSTN call. That is, to send a
>"safety" BYE after X minutes after an INVITE
>  
>
  Well, SER would have to spoof the BYE that would normally come from 
the UA.  This probably isn't the best way to do this.  Plus, you might 
disconnect an actual call.

  It would be best to configure an appropriate RTP timeout on the 
gateway.  For instance, a if there is no packets after 10 seconds, 
cancel the call.  See your gateway docs on RTP settings.

  If you need to impose a session length, many gateways support RADIUS 
auth, and you set a call length parameter in the RADIUS response.  With 
the right sort of RADIUS server, that call length could be dynamically 
calculated on a per user basis.

Tom




More information about the sr-users mailing list