Settings Chan_mobile

I’m new in Asterisk and FreePBX.
I installed FreePBX distro with Asterisk 1.8
I have 4 old nokia phones 6230i ind i real about thaht i can use it like GSM gate, with addon chan_mobile.

I paires phones an i see them.
I need 4 SIP accounts wich every phone will be paired to one SIP. I need to incoming and outcoming calls but if i tried make extensions and sip config with google found manuals it is not function, can everybody help me with extensions.conf chan_mobile.conf and sip.conf? pllls :frowning:

I have 4 phones named GATE1, GATE2, GATE3, GATE4
and 4 BT adapters named hama1, hama2, hama3, hama4

chan_mobile conf is:

; Substitute ID of hci0 here
address = 00:1B:DC:0F:FE:92
id = hama1

address = 00:12:37:5A:5F:4B
port = 13
context = from-gate2
adapter = hama1

extensions.conf is:

[from-gate2] exten => _9X.,1Dial(Mobile/GATE2/${EXTEN:1},45) exten => _10X.,1,Hangup

and in sip.conf

type=friend callerid="Testovací SIP" host=dynamic secret=testing123 dtmfmode=rfc2833 canreinvite=yes nat=yes qualify=yes context=from-gate2

dialplan show from-gate2' failed. -- Bluetooth Device GATE2 has connected, initializing... -- Bluetooth Device GATE2 initialized and ready. -- Remote UNIX connection == Using SIP RTP TOS bits 184 == Using SIP RTP CoS mark 5 [2014-01-23 19:38:48] NOTICE[2274]: chan_sip.c:23462 handle_request_invite: Call from 'test' ( to extension '776148262' rejected because extension not found in context 'from-gate2'. == Parsing '/etc/asterisk/extensions.conf': == Found == Parsing '/etc/asterisk/extensions_override_freepbx.conf': == Found == Parsing '/etc/asterisk/extensions_additional.conf': == Found == Parsing '/etc/asterisk/globals_custom.conf': == Found [2014-01-23 19:44:07] ERROR[2310]: config.c:1290 process_text_line: The file 'extensions_custom.conf' was listed as a #include but it does not exist.

Very thanks for your reply :slight_smile:

1 Like