Displaying 1 result from an estimated 1 matches for "accet_outofcall_messages".
Did you mean:
accept_outofcall_message
2015 Sep 21
3
Respond to an out of call SIP MESSAGE
...ving trouble configuring Asterisk to respond to an incoming out of call SIP MESSAGE. The transport protocol is TLS and the Asterisk version is 10 (it's old, but I'm kind of stuck with it at the moment). Currently I have roughly the following configuration and handling:
sip.conf:
[general]
accet_outofcall_messages=yes
outofcall_message_context=sip-im
and extensions.conf
[sip-im]
exten _X!, 1, NoOp(Got message)
exten _X!, n, Answer()
exten _X!, n, Agi(agi://localhost/messagehandler.agi?...)
exten _X!, n, SendText(Message received)
I can see in the log from Asterisk that the script in the sip-im context is...