Hi there, <br><br>I'm setting up a Asterisk network and I ran into some problems ... as you might have guessed :) <div><br></div><div>The set up is like this: <br>Internal Communication in the company should be handled through softphones over an asterisk server (works). </div>
<div>Outbound Communication should be handled through a HUAWEI E169 stick, accessed by the chan_dongle project.
<a href="http://code.google.com/p/asterisk-chan-dongle/">http://code.google.com/p/asterisk-chan-dongle/</a> </div><div><br></div><div>When I call internal numbers, everything works fine, but when I try to access outside, I get the following error: <br>
<div> == Using SIP RTP CoS mark 5</div><div> -- Executing [06766770031@internal:1] Answer("SIP/1001-00000023", "") in new stack</div><div> -- Executing [06766770031@internal:2] Dial("SIP/1001-00000023", "dongle0/r1/06766770031,20,r") in new stack</div>
<div>[Sep 13 11:33:31] WARNING[9835]: channel.c:5603 ast_request: No channel type registered for 'dongle0'</div><div>[Sep 13 11:33:31] WARNING[9835]: app_dial.c:2218 dial_exec_full: Unable to create channel of type 'dongle0' (cause 66 - Channel not implemented)</div>
<div> == Everyone is busy/congested at this time (1:0/0/1)</div><div> -- Executing [06766770031@internal:3] Hangup("SIP/1001-00000023", "") in new stack</div><div> == Spawn extension (internal, 06766770031, 3) exited non-zero on 'SIP/1001-00000023'</div>
<div><br></div><div>From googling my way around, I know this type of error normally relates to a module not being loaded, but chan_dongle.so shows up when I type a "module show". I've been fiddling around with this for days and frankly I don't really know where the problem could lie. <br>
<br>Below are excerpts from sip.conf and extensions.conf</div><div><br></div><div>SIP.conf<br><code></div><div><div>[general]</div><div>bindport = 5060</div><div>bindaddr = 192.168.61.25</div><div>tcpbindaddr = 192.168.61.25</div>
<div>tcpenable = yes</div><div>context = internal</div><div>transport = udp</div><div>disallow = all</div><div>allow = gsm</div><div>allow = ulaw</div><div>allow = alaw</div><div><br></div><div>[dongle0]</div><div>type=friend</div>
<div>context=internal</div><div>audio=/dev/ttyUSB1</div><div>data=/dev/ttyUSB2</div><div>imei=359638011610601</div><div>imsi=232018830482446</div><div>transport=udp</div><div>disallow = all</div><div>allow = gsm</div><div>
allow = ulaw</div><div>allow = alaw</div><div><br></div><div>[1000]</div><div>type=friend</div><div>callerid = "Benny" <1000></div><div>secret=1000</div><div>host=dynamic</div><div>canreinvite=no</div><div>
dtmfmode=rfc2833</div><div>mailbox=1000</div><div>disallow=all</div><div>allow=gsm</div><div>allow=ulaw</div><div>allow=alaw</div><div>transport=udp</div><div>context=internal</div><div><br></div><div>[1001]</div><div>type=friend</div>
<div>callerid = "Timme" <1001></div><div>secret=1001</div><div>host=dynamic</div><div>canreinvite=no</div><div>dtmfmode=rfc2833</div><div>mailbox=1001</div><div>disallow=all</div><div>allow=gsm</div><div>allow=ulaw</div>
<div>allow=alaw</div></div><div></code></div><div><br></div><div>Extensions.conf</div><div><code></div><div><div>[internal]</div><div>; for 4-digit numbers, assume it's a SIP number in our own context</div>
<div>; call it</div><div>exten => _XXXX,1,Answer()</div><div>exten => _XXXX,n,Dial(SIP/${EXTEN},20,r)</div><div>exten => _XXXX,n,Hangup</div><div><br></div><div>; else</div><div>; for a number starting with zero try to call via Dongle</div>
<div>exten => _0X.,1,Answer()</div><div>exten => _0X.,n,Dial(dongle0/r1/${EXTEN},20,r)</div><div>exten => _0x.,n,Hangup</div></div><div><br></div><div></code></div><br></div><div>Please shed some light on this ..... </div>
<div><br>Kind regards, </div><div>Benedikt</div>