I just configured A2Billing. When we call our server, it asks for PIN (which is card number) we enter card number, it tells us our balance amount then it asks for destination phone number, we enter phone number, it tells us the minutes to call with available balance. Till here it is working fine, then it tries to place call and do not complete the call.
We have added following entries in SIP.conf
Code:
[mytrunk]
type=peer
host=sip.voip-provider.com
username=myuser
secret=mypassword
context=a2billing
On Asterisk CLI we found the following error:
Code:
Aug 4 11:29:05 WARNING[29380]: channel.c:509 ast_best_codec: Don't know any of 0x0 formats
Aug 4 11:29:05 WARNING[29380]: channel.c:509 ast_best_codec: Don't know any of 0x0 formats
-- Called mytrunk/009221XXXXXXX
Aug 4 11:29:05 WARNING[29380]: channel.c:2784 ast_channel_make_compatible: No path to translate from SIP/mytrunk-0819f828(0) to SIP/67.15.180.14-081951d8(4)
Aug 4 11:29:05 WARNING[29380]: chan_sip.c:2585 sip_write: Asked to transmit frame type 4, while native formats is 0 (read/write = 0/0)
Aug 4 11:29:05 WARNING[29380]: chan_sip.c:2585 sip_write: Asked to transmit frame type 4, while native formats is 0 (read/write = 0/0)
Aug 4 11:29:05 WARNING[29380]: chan_sip.c:2585 sip_write: Asked to transmit frame type 4, while native formats is 0 (read/write = 0/0)
Aug 4 11:29:05 WARNING[29380]: chan_sip.c:2585 sip_write: Asked to transmit frame type 4, while native formats is 0 (read/write = 0/0)
Aug 4 11:29:05 WARNING[29380]: chan_sip.c:2585 sip_write: Asked to transmit frame type 4, while native formats is 0 (read/write = 0/0)
Aug 4 11:29:05 WARNING[29380]: chan_sip.c:2585 sip_write: Asked to transmit frame type 4, while native formats is 0 (read/write = 0/0)
-- Got SIP response 415 "Unsupported media type"
Then we get response "The number is not responding"
And it asks again to enter phone number.
I would really appreciate if anyone can help in fixing this issue.
Thanks
SK