I want to make a phone call but chan_dongle try to connect to the modem

1,278 views
Skip to first unread message

いけ

unread,
Jun 13, 2014, 2:36:57 AM6/13/14
to chan_...@googlegroups.com

I want to make a phone call (iax phon → asterisk → my home analog phone)   but chan_dongle try to connect to the /dev/ttyUSB_utps_modem.
I think that it is necessary to connect to the /dev/ttyUSB_utps_diag.
I think setting is correct. 
Please tell me what's wrong. 


I write the configuration .

1.console error message

Connected to Asterisk 11.6-cert2 currently running on localhost (pid = 5075)
    -- Accepting AUTHENTICATED call from 192.168.1.100:
    --        > requested format = speex,
    --        > requested prefs = (),
    --        > actual format = ulaw,
    --        > host prefs = (),
    --        > priority = mine
    -- Executing [0526116761@default:1] Dial("IAX2/201-6754", "Dongle/dongle0/0xx611xxxx") in new stack
    -- Called Dongle/dongle0/0526116761
    -- Dongle/dongle0-0100000000 is making progress passing it to IAX2/201-6754
[Jun 13 14:14:56] ERROR[5119]: chan_dongle.c:414 do_monitor_phone: [dongle0] Lost connection to Dongle
    -- [dongle0] Dongle has disconnected
  == Everyone is busy/congested at this time (1:0/0/1)
    -- Auto fallthrough, channel 'IAX2/201-6754' status is 'CHANUNAVAIL'
    -- [dongle0] Trying to connect on /dev/ttyUSB_utps_modem...
[Jun 13 14:14:58] WARNING[5116]: chan_dongle.c:218 opentty: unable to open /dev/ttyUSB_utps_modem: No such file or directory
    -- Hungup 'IAX2/201-6754'
    -- [dongle0] Trying to connect on /dev/ttyUSB_utps_modem...
    -- [dongle0] Dongle has connected, initializing...
    -- [dongle0] Dongle initialized and ready


2./dev/ttyUSB*

[root@localhost ~]# ls /dev/ttyUSB*
/dev/ttyUSB_utps_diag  /dev/ttyUSB_utps_modem  /dev/ttyUSB_utps_pcui



3.dongle.conf

[dongle0]
audio=/dev/ttyUSB_utps_diag    ; tty port for audio connection;     no default value
data=/dev/ttyUSB_utps_modem    ; tty port for AT commands;         no default value



4.extensions.conf

[default]
exten => _X.,1,Dial(Dongle/dongle0/${EXTEN})

いけ

unread,
Jun 13, 2014, 11:48:56 AM6/13/14
to chan_...@googlegroups.com
I solved the problem on their own. 
dongle.conf was wrong. I do not know why, but it is working. With the following settings.


3.dongle.conf

[dongle0]
audio=/dev/ttyUSB_utps_modem    ; tty port for audio connection;     no default value
data= /dev/ttyUSB_utps_pcui   ; tty port for AT commands;         no default value


Reply all
Reply to author
Forward
0 new messages