Hi everyone, im new to asterisk and i want to install asterisk to use with linphone android client, i install it with this tutorial:
note that i dont need voice mail so i didnt add the voice mail part.
the calling is work correctly but when i want to send message using linphone, i see this error:
[Jan 29 12:03:27] NOTICE[28294][C-00000003]: chan_sip.c:30834 sip_request_call: Asked to get a channel without offering any format
[Jan 29 12:03:27] WARNING[28294][C-00000003]: app_dial.c:2663 dial_exec_full: Unable to create channel of type āSIPā (cause 58 - Bearer capability not available)
Your tutorial is obsolete (if it says use type=friend as standard, it is also broken), as chan_sip is not in the latest version of Asterisk. (It also shouldnāt be suggesting the use of canreinvite, as that was renamed about a decade ago, although the old name is still accepted in those older versions of Asterisk. which still include chan_sip.)
Iād say your problem was that you havenāt enabled any codecs (NB do not enable all).
type=friend should only be used in certain special cases.
Oh, so can you help me to run this on a new asterisk? i installed the asterisk 20 and i dont know how to make two users to communicate with each other, also there is a pjsip instead of sip and i dont have any idea about that.
I didnāt notice the mention of message in your subject, and none of the code you have presented handles out of dialogue messages. I think you may be trying to handle an out of dialogue message as though it were a voice call, although I thought that would have faulted earlier.