How to receive the text which was sent by SendText
- by thillai-selvan
In asterisk I have sent a text message using SendText as follows
I have two registered users in sip.conf file.
sip.conf details
[thillai]
username=thillai
secret=thillai
host=dynamic
type=friend
allow=all
context=test
[selvan]
username=selvan
secret=selvan
allow=all
host=dynamic
type=friend
context=test
Then I have created the necessary extensions like this
extensions.conf file:
[test]
exten = 677,1,BackGround(thankyou)
exten = 677,n,Dial(SIP/thillai)
exten = 677,n,SendText('this is for testing')
So when a caller is trying to call to extension 677 this text information will be sent.
My question is how can I receive this text in the caller side?
Any help will be much appreciated.