<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi, Dani.<div class=""><br class=""></div><div class="">If you want to use SIP-client, I suppose, the simplest way is send INVITE or MESSAGE to predefined number, and then parse it in OpenSIPS. Perhaps, later you may use «speeddial» module or similar.</div><div class=""><br class=""><div apple-content-edited="true" class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class=""><div class="">Best regards,</div><div class="">Alexander Mustafin</div><div class=""><a href="mailto:mustafin.aleksandr@gmail.com" class="">mustafin.aleksandr@gmail.com</a></div><div class=""><br class=""></div></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">9 апр. 2015 г., в 21:47, Dani Popa <<a href="mailto:dani.popa@gmail.com" class="">dani.popa@gmail.com</a>> написал(а):</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hi,<div class=""><br class=""></div><div class="">If i need to send "commands" from client to opensips in order to setup some features, what should be the correct approach ? Let's suppose i want as SIP client, to setup call forward status (enable/disable) from client sending SIP message to opensips(having all the logic already implemented on proxy side). This service should be similar with dialing *123# from mobile or some ussd to do something. </div><div class=""><br class=""></div><div class="">My question is, what should i use to send those "commands", MESSAGE sip method with particular body, NOTIFY sip method with differnt event type, i mean i'd like to use sip protocol as transport for this kind of services. </div><div class=""><div class=""><br class=""></div><div class="">thanks,</div>-- <br class=""><div class="gmail_signature">Dani Popa</div>
</div></div>
_______________________________________________<br class="">Users mailing list<br class=""><a href="mailto:Users@lists.opensips.org" class="">Users@lists.opensips.org</a><br class="">http://lists.opensips.org/cgi-bin/mailman/listinfo/users<br class=""></div></blockquote></div><br class=""></div></body></html>