Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Troubles with MessageSend command


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
julien at jsansonnens.ch
Guest





PostPosted: Mon Feb 22, 2016 3:18 pm    Post subject: [asterisk-users] Troubles with MessageSend command Reply with quote

Hi list, I am trying to enable SIP SIMPLE communication in my test environment (Asterisk 13.6.0)


I have two problems: 


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. 
in users.conf, setting "callerid=" achieves this goal for voice calls, but not for out-of-band messaging. 
Is there some way to set the "FROM" so that it cannot be overwritten by users ?


2. depending on the transport protocol, the ${MESSAGE(to)} variables changes. If I use UDP, my destination is "sip:user@somedomain.com ([email]sip%3Auser@somedomain.com[/email])", which is good. If I use TLS, then my destination URI becomes "sip:user@somedomain.com ([email]sip%3Auser@somedomain.com[/email]);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.


thanks a lot for your help, Julien 
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services