[gnugk-users] Gateway to SIP by Asterisk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,

I try to use Asterisk as a gateway to SIP.

Is there any simple configuration for this scenario? I couldn't find any yet.

The users gkuser1, gkuser2 and gkast1(Asterisk) are registered on the gnugk. H323 calls between gkuser1 and gkuser2 are ok, but the gateway to and from SIP doesn't function.

There isn't any gatekeeper.ini file at the moment. Asterisk & gnugk on the same IP-address.

Here my Asterisk configuration:

ooh323.conf
-------------------
[general]
;port=1720
port=1719

bindaddr=0.0.0.0
gateway = yes

h323id=gkast1
e164=100
callerid=gkast1

aniasdni=no
gatekeeper = 192.168.0.2

context=default

disallow=all
allow=gsm
allow=alaw
allow=ulaw

dtmfmode=rfc2833
faxdetect = cng

directmedia=no
directrtpsetup=no

[gkuser1]
type=friend
context=fromh323

[gkuser2]
type=friend
context=fromh323


extensions.conf
-----------------------
[fromsip]
exten => 101,1,Dial(OOH323/192.168.0.2:1719/gkuser1,30)
exten => 101,n,Congestion

[fromh323]
exten => 201,1,Dial(SIP/sipuser1,30)
exten => 201,n,Congestion



Thank you
Regards
Marko

_______________________________________________________

Posting: mailto:gnugk-users@xxxxxxxxxxxxxxx
Archive: https://lists.gnugk.org/pipermail/gnugk-users/
Unsubscribe: https://lists.gnugk.org/lists/listinfo/gnugk-users
Homepage: https://www.gnugk.org/

[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux