[Asterisk-Users] H323.conf question

niels at wxn.nl niels at wxn.nl
Tue Oct 26 06:09:43 MST 2004


I want to route to the right context (or however KNOW which h323 gateway
is calling to my asterisk box)

Most logical config is by adding [xxx] sections as type=user in the
h323.conf section with a host=<ip_addres> line in them

But this doesn't seem to work whatever I do it ALWAYS uses the default
context.. 

This is the base problem


A "goto" option in extensions.conf would only work when I knew the
originating caller's IP adress.. Which I don't ... Or is there a
{$ORIGINATOR_IP} or whatever variable available?

But still... The first option should be the right way though? Just
getting this users part working selecting the right context in h323.conf
(based on the originator's ip)





-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Steve
Totaro
Sent: Tuesday, October 26, 2004 2:49 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] H323.conf question

Maybe I dont understand the problem fully.  What does the console show?



Thanks,
Steve Totaro
stotaro at totarotechnologies.com
www.totarotechnologies.com


----- Original Message -----
From: <niels at wxn.nl>
To: <asterisk-users at lists.digium.com>
Sent: Tuesday, October 26, 2004 8:12 AM
Subject: RE: [Asterisk-Users] H323.conf question


Ohh.. do I know the originating IP address then once arrived in
extensions.conf ?

I checked this page http://www.voip-info.org/wiki-Asterisk+Variables but
can't seem to find any predefined variable which represents the
originating IP

Or have I missed something?

Regards
Niels


-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Steve
Totaro
Sent: Tuesday, October 26, 2004 1:51 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] H323.conf question

Work around is to create a default323 context and use a goto statement
to send it to the desired context.


Thanks,
Steve Totaro
stotaro at totarotechnologies.com
www.totarotechnologies.com


----- Original Message -----
From: <niels at wxn.nl>
To: <asterisk-users at lists.digium.com>
Sent: Tuesday, October 26, 2004 7:21 AM
Subject: RE: [Asterisk-Users] H323.conf question


Ofcourse I tried that :-)

In this case an h323 call to asterisk doesn't work anymore (at all)..

The asterisk debug window is then complaining that it can't find a
default context at the moment I set up a h323 call

Thx
Niels

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Steve
Totaro
Sent: Tuesday, October 26, 2004 1:10 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] H323.conf question

i would just lose the line where it says "context=default323"


Thanks,
Steve Totaro
stotaro at totarotechnologies.com
www.totarotechnologies.com


----- Original Message -----
From: <niels at wxn.nl>
To: <asterisk-users at lists.digium.com>
Sent: Tuesday, October 26, 2004 5:52 AM
Subject: [Asterisk-Users] H323.conf question


Hello

I have chan_h323.so compiled.. And got is up and running
I can place calls now from my cisco AS5350 to asterisk and back

Only..

In h323.conf it doesn't seem to 'see' the my user .. It's just always
using the default context

If I dial from 192.168.1.50 (my cisco) to 192.168.1.100 (my asterisk) it
uses the default context (defaulth323) .. No matter what I do in the
[testuser] part.. I want it to use the h323dialout context if call is
coming in from 192.168.1.50 .. But it just doesn't seem to work


Below my h323.conf

What am I doing wrong?



; Open H.323 driver configuration
[general]
port = 1720
bindaddr = 192.168.1.100
disallow=all
allow=gsm               ; Always allow GSM, it's cool :)
gatekeeper = DISABLE


; Default context gets used in siutations where you are using
; the GK routed model or no type=user was found.
context=defaulth323<<<<<<<-RIGHT HERE

[testuser]
type=user
host=192.168.1.50
context=h323dialout
incominglimit=4
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users



More information about the asterisk-users mailing list