RoutingPolicy problem

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

 



Hi to all
can someone tell me how do I route all SIP calls to an Asterisk Gateway?
I already have Asterisk registering in GNUGK as a gateway as you can see in
the GNUGK monitoring:

RCF|asterisk_ip:1720|*:dialedDigits|gateway|5015_endp

And theres a bit of my gnugk.ini:

[RoutedMode]
GKRouted=1
H245Routed=1
CallSignalPort=1721 ;1721 its the GNUGK port
CallSignalHandlerNumber=2
RtpHandlerNumber=2
RemoveH245AddressOnTunneling=1
DropCallsByReleaseComplete=1
SupportNATedEndpoints=1
Q931PortRange=30000-39999
H245PortRange=40000-49999

[Proxy]
Enable=1
InternalNetwork=IP/MASK
T120PortRange=40000-40999
RTPPortRange=50000-59999


[RoutingPolicy]
00=neighbor


[RasSrv::GWPrefixes]
GWasterisk=0


[Neighbor::GWasterisk]
GatekeeperIdentifier=GWasterisk
Host=ASTERISK_IP:ASTERISK_PORT
SendPrefixes=00
AcceptPrefixes=*
ForwardLRQ=always


Now what I need to know is, to Route calls to the Asterisk Gateway, I must
use the [Routing Policy] or the [Neighbor::GWasterisk] section? or both?

The [RoutingPolicy] section of the manual is not very explicit, can someone
help me?

Thanks in advance

Joao Pereira









-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/

_______________________________________________________

List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
Homepage: http://www.gnugk.org/

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

  Powered by Linux