No subject
Fri Sep 2 03:59:05 CDT 2011
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.
Below are excerpts from sip.conf and extensions.conf
SIP.conf
<code>
[general]
bindport = 5060
bindaddr = 192.168.61.25
tcpbindaddr = 192.168.61.25
tcpenable = yes
context = internal
transport = udp
disallow = all
allow = gsm
allow = ulaw
allow = alaw
[dongle0]
type=friend
context=internal
audio=/dev/ttyUSB1
data=/dev/ttyUSB2
imei=359638011610601
imsi=232018830482446
transport=udp
disallow = all
allow = gsm
allow = ulaw
allow = alaw
[1000]
type=friend
callerid = "Benny" <1000>
secret=1000
host=dynamic
canreinvite=no
dtmfmode=rfc2833
mailbox=1000
disallow=all
allow=gsm
allow=ulaw
allow=alaw
transport=udp
context=internal
[1001]
type=friend
callerid = "Timme" <1001>
secret=1001
host=dynamic
canreinvite=no
dtmfmode=rfc2833
mailbox=1001
disallow=all
allow=gsm
allow=ulaw
allow=alaw
</code>
Extensions.conf
<code>
[internal]
; for 4-digit numbers, assume it's a SIP number in our own context
; call it
exten => _XXXX,1,Answer()
exten => _XXXX,n,Dial(SIP/${EXTEN},20,r)
exten => _XXXX,n,Hangup
; else
; for a number starting with zero try to call via Dongle
exten => _0X.,1,Answer()
exten => _0X.,n,Dial(dongle0/r1/${EXTEN},20,r)
exten => _0x.,n,Hangup
</code>
Please shed some light on this .....
Kind regards,
Benedikt
--f46d044280f695d73404c992182e
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Hi there,=A0<br><br>I'm setting up a Asterisk network and I ran into =
=A0some problems ... as you might have guessed :)=A0<div><br></div><div>The=
set up is like this:=A0<br>Internal Communication in the company should be=
handled through softphones over an asterisk server (works).=A0</div>
<div>Outbound Communication should be handled through a HUAWEI E169 stick, =
accessed by the chan_dongle project.=A0
<a href=3D"http://code.google.com/p/asterisk-chan-dongle/">http://code.goog=
le.com/p/asterisk-chan-dongle/</a>=A0</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:=A0<br>
<div>=A0=3D=3D Using SIP RTP CoS mark 5</div><div>=A0 =A0 -- Executing [067=
66770031 at internal:1] Answer("SIP/1001-00000023", "") in=
new stack</div><div>=A0 =A0 -- Executing [06766770031 at internal:2] Dial(&qu=
ot;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 channe=
l 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 &#=
39;dongle0' (cause 66 - Channel not implemented)</div>
<div>=A0 =3D=3D Everyone is busy/congested at this time (1:0/0/1)</div><div=
>=A0 =A0 -- Executing [06766770031 at internal:3] Hangup("SIP/1001-000000=
23", "") in new stack</div><div>=A0 =3D=3D Spawn extension (=
internal, 06766770031, 3) exited non-zero on 'SIP/1001-00000023'</d=
iv>
<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 t=
his for days and frankly I don't really know where the problem could li=
e.=A0<br>
<br>Below are excerpts from sip.conf and extensions.conf</div><div><br></di=
v><div>SIP.conf<br><code></div><div><div>[general]</div><div>bindport=
=3D 5060</div><div>bindaddr =3D 192.168.61.25</div><div>tcpbindaddr =3D 19=
2.168.61.25</div>
<div>tcpenable =3D yes</div><div>context =3D internal</div><div>transport =
=3D udp</div><div>disallow =3D all</div><div>allow =3D gsm</div><div>allow =
=3D ulaw</div><div>allow =3D alaw</div><div><br></div><div>[dongle0]</div><=
div>type=3Dfriend</div>
<div>context=3Dinternal</div><div>audio=3D/dev/ttyUSB1</div><div>data=3D/de=
v/ttyUSB2</div><div>imei=3D359638011610601</div><div>imsi=3D232018830482446=
</div><div>transport=3Dudp</div><div>disallow =3D all</div><div>allow =3D g=
sm</div><div>
allow =3D ulaw</div><div>allow =3D alaw</div><div><br></div><div>[1000]</di=
v><div>type=3Dfriend</div><div>callerid =3D "Benny" <1000><=
/div><div>secret=3D1000</div><div>host=3Ddynamic</div><div>canreinvite=3Dno=
</div><div>
dtmfmode=3Drfc2833</div><div>mailbox=3D1000</div><div>disallow=3Dall</div><=
div>allow=3Dgsm</div><div>allow=3Dulaw</div><div>allow=3Dalaw</div><div>tra=
nsport=3Dudp</div><div>context=3Dinternal</div><div><br></div><div>[1001]</=
div><div>type=3Dfriend</div>
<div>callerid =3D "Timme" <1001></div><div>secret=3D1001</d=
iv><div>host=3Ddynamic</div><div>canreinvite=3Dno</div><div>dtmfmode=3Drfc2=
833</div><div>mailbox=3D1001</div><div>disallow=3Dall</div><div>allow=3Dgsm=
</div><div>allow=3Dulaw</div>
<div>allow=3Dalaw</div></div><div></code></div><div><br></div><div>Ex=
tensions.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 =3D> _XXXX,1,Answer()</div><div>exten =3D=
> _XXXX,n,Dial(SIP/${EXTEN},20,r)</div><div>exten =3D> _XXXX,n,Hangup=
</div><div><br></div><div>; else</div><div>; for a number starting with zer=
o try to call via Dongle</div>
<div>exten =3D> _0X.,1,Answer()</div><div>exten =3D> _0X.,n,Dial(dong=
le0/r1/${EXTEN},20,r)</div><div>exten =3D> _0x.,n,Hangup</div></div><div=
><br></div><div></code></div><br></div><div>Please shed some light on=
this .....=A0</div>
<div><br>Kind regards,=A0</div><div>Benedikt</div>
--f46d044280f695d73404c992182e--
More information about the asterisk-users
mailing list