[OpenSIPS-Users] On hold

Ovidiu Sas osas at voipembedded.com
Fri Feb 23 08:09:55 EST 2018


Hello Brian,

You can detect hold using is_audio_on_hold():
http://www.opensips.org/html/docs/modules/2.3.x/sipmsgops#idp5575408

Try to use it and see if this will solve your issue.

Regards,
Ovidiu Sas

On Feb 23, 2018 4:13 AM, "Brian Southworth" <brian.southworth at clocom.uk>
wrote:

Hi All,



I am trying to get opensips to forward the on hold request to asterisk I
have done this using an if statement for SDP =~ “sendonly”



How ever when I go to take them off hold the call is dropped, is there
something special I need to do ?



I have tried and if statement for is_method(“invite”) && $rb =~ “sendrecv” ß
this loops until opensips give a 500 internal error

And I have also tried is_method(“invite”) && $rb =~ “inactive” ß this
doesn’t seem to work at all



The initial hold works perfect puts them on hold just cant take them off or
transfer the call (asterisk will handle all the B2B stuff)



Any help would be appreciated.



Regards,



Brian Southworth

Communications Developer

[image: cid:image001.png at 01D22CAC.1DCB8580]

111 Wilmslow Road

Handforth

Wilmslow

SK9 3ER



T: 03333 446677

W: www.clocom.uk











[image: cid:image002.png at 01CDDC62.D8483910]
<http://www.facebook.com/clocom.uk>

Like us on Facebook

[image: cid:image003.png at 01CDDC62.D8483910]

Follow us on Twitter

[image: cid:image004.png at 01CDDC62.D8483910] <https://twitter.com/clocom_uk>











Clocom is a *green* company. Think, do you need to print this email?



This message contains confidential information and is intended only for the
individual named. If you are not the named addressee you should not
disseminate, distribute or copy this e-mail. Please notify the sender
immediately by e-mail if you have received this e-mail by mistake and
delete this e-mail from your system. E-mail transmission cannot be
guaranteed to be secure or error-free as information could be intercepted,
corrupted, lost, destroyed, arrive late or incomplete, or contain viruses.
The sender therefore does not accept liability for any errors or omissions
in the contents of this message, which arise as a result of e-mail
transmission. If verification is required please request a hard-copy
version. Registered in England & Wales: 07081192. Registered name and
address: Clocom UK Ltd, 111 Wilmslow Road, Handforth, Cheshire, SK9 3ER
www.clocom.uk



_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20180223/9e7bba02/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 234 bytes
Desc: not available
URL: <http://lists.opensips.org/pipermail/users/attachments/20180223/9e7bba02/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 2999 bytes
Desc: not available
URL: <http://lists.opensips.org/pipermail/users/attachments/20180223/9e7bba02/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 9352 bytes
Desc: not available
URL: <http://lists.opensips.org/pipermail/users/attachments/20180223/9e7bba02/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 2708 bytes
Desc: not available
URL: <http://lists.opensips.org/pipermail/users/attachments/20180223/9e7bba02/attachment-0007.png>


More information about the Users mailing list