<div dir="ltr">Hi list, <div>I am trying to enable SIP SIMPLE communication in my test environment (Asterisk 13.6.0)</div><div><br></div><div>I have two problems: </div><div><br></div><div>1. Using messagesend(), I don't want my users to be able to change their own callerid name. I want the name that appears in the ${MESSAGE(from)} to be set by config file, and cannot be overwritten by user's settings. </div><div>in users.conf, setting "callerid=" achieves this goal for voice calls, but not for out-of-band messaging. </div><div>Is there some way to set the "FROM" so that it cannot be overwritten by users ?</div><div><br></div><div>2. depending on the transport protocol, the ${MESSAGE(to)} variables changes. If I use UDP, my destination is "<a href="mailto:sip%3Auser@somedomain.com">sip:user@somedomain.com</a>", which is good. If I use TLS, then my destination URI becomes "<a href="mailto:sip%3Auser@somedomain.com">sip:user@somedomain.com</a>;transport=TLS" which causes some troubles. I would like to remove the transport part, and to keep only the sip:user@domain, how can I do this ? I could play with the cut command, but would like a more elegant way.</div><div><br></div><div>thanks a lot for your help, Julien </div><div><br></div><div><div>
</div></div></div>