Hi,

I'm having 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 
running, but there is no message sent. I have followed the code in the call, 
and it seems like there is no channel registered with the SendText application. 
Is there some other approach that I could use to send a SIP MESSAGE back to the 
client? Does the client need to register for this to work?

BR,
Emil

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to