I managed (with very much joy :D) to configure chan_mobile with asterisk 1.8 and my iPhone 4 and outgoing calls work nicely. I have issues with automatic answering incoming calls.
This is what my chan_mobile.conf looks like:
[adapter]
address = 11:11:11:11:11:11
id = box-1
[iphone]
address = 22:22:22:22:22:22
port = 8
context = from-test-phone
adapter = box-1
and in /etc/asterisk/extensions.conf I added
[from-test-phone]
exten => s,1,Answer()
exten => s,n,Wait(1)
exten => s,n,Hangup()
But when I call my mobile phone there is no answer.
The bluetooth device is paired and active
# rasterisk
> mobile show devices
ID Address Group Adapter Connected State SMS
iphone 22:22:22:22:22:22 0 box-1 Yes Free No
Am I missing something?
debian*CLI> core set verbose 4 Verbosity was 0 and is now 4 debian*CLI> core set debug 4 Core debug was 0 and is now 4 -- Executing [s@from-test-phone:1] Answer("Mobile/iphone-6e3e", "") in new stack -- Executing [s@from-test-phone:2] Wait("Mobile/iphone-6e3e", "1") in new stack -- Executing [s@from-test-phone:3] Hangup("Mobile/iphone-6e3e", "") in new stack == Spawn extension (from-test-phone, s, 3) exited non-zero on 'Mobile/iphone-6e3e'
– z3d0