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 [testuser] type=user host=192.168.1.50 context=h323dialout incominglimit=4
i would just lose the line where it says "context=default323" Thanks, Steve Totaro stotaro@totarotechnologies.com www.totarotechnologies.com ----- Original Message ----- From: <niels@wxn.nl> To: <asterisk-users@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@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
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@lists.digium.com [mailto:asterisk-users-bounces@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@totarotechnologies.com www.totarotechnologies.com ----- Original Message ----- From: <niels@wxn.nl> To: <asterisk-users@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@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@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
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@lists.digium.com [mailto:asterisk-users-bounces@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@totarotechnologies.com www.totarotechnologies.com ----- Original Message ----- From: <niels@wxn.nl> To: <asterisk-users@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@lists.digium.com [mailto:asterisk-users-bounces@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@totarotechnologies.com www.totarotechnologies.com ----- Original Message ----- From: <niels@wxn.nl> To: <asterisk-users@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@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@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@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@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
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@lists.digium.com
[mailto:asterisk-users-bounces@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@totarotechnologies.com
www.totarotechnologies.com
----- Original Message -----
From: <niels@wxn.nl>
To: <asterisk-users@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@lists.digium.com
[mailto:asterisk-users-bounces@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@totarotechnologies.com
www.totarotechnologies.com
----- Original Message -----
From: <niels@wxn.nl>
To: <asterisk-users@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@lists.digium.com
[mailto:asterisk-users-bounces@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@totarotechnologies.com
www.totarotechnologies.com
----- Original Message -----
From: <niels@wxn.nl>
To: <asterisk-users@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@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@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@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@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@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@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
When reloading: it just parses h323.conf without any errors or warnings
When I dial it will dial out (no problem) .. Only.. It Just uses the
wrong (default) context.. 
Further I see nothing suspicious in the console even with not with
asterisk -vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvc :-)
To keep the problem clearly: I want asterisk to auth the incoming h323
calls based on the IP address the calls are coming from 
 
-----Original Message-----
From: asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Steve
Totaro
Sent: Tuesday, October 26, 2004 4:45 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] H323.conf question
output from console?
Thanks,
Steve Totaro
stotaro@totarotechnologies.com
www.totarotechnologies.com
----- Original Message -----
From: <niels@wxn.nl>
To: <asterisk-users@lists.digium.com>
Sent: Tuesday, October 26, 2004 9:09 AM
Subject: RE: [Asterisk-Users] H323.conf question
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@lists.digium.com
[mailto:asterisk-users-bounces@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@totarotechnologies.com
www.totarotechnologies.com
----- Original Message -----
From: <niels@wxn.nl>
To: <asterisk-users@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@lists.digium.com
[mailto:asterisk-users-bounces@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@totarotechnologies.com
www.totarotechnologies.com
----- Original Message -----
From: <niels@wxn.nl>
To: <asterisk-users@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@lists.digium.com
[mailto:asterisk-users-bounces@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@totarotechnologies.com
www.totarotechnologies.com
----- Original Message -----
From: <niels@wxn.nl>
To: <asterisk-users@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@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@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@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@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@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@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@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@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
Maybe, an upgrade to 1.02 will help :-) 
I will try this tomorrow on my test box.
-----Original Message-----
From: asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Steve
Totaro
Sent: dinsdag 26 oktober 2004 19:49
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] H323.conf question
sometimes its like pulling teeth
Thanks,
Steve Totaro
stotaro@totarotechnologies.com
www.totarotechnologies.com
----- Original Message ----- 
From: <niels@wxn.nl>
To: <asterisk-users@lists.digium.com>
Sent: Tuesday, October 26, 2004 11:00 AM
Subject: RE: [Asterisk-Users] H323.conf question
When reloading: it just parses h323.conf without any errors or warnings
When I dial it will dial out (no problem) .. Only.. It Just uses the
wrong (default) context.. 
Further I see nothing suspicious in the console even with not with
asterisk -vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvc :-)
To keep the problem clearly: I want asterisk to auth the incoming h323
calls based on the IP address the calls are coming from 
 
-----Original Message-----
From: asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Steve
Totaro
Sent: Tuesday, October 26, 2004 4:45 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] H323.conf question
output from console?
Thanks,
Steve Totaro
stotaro@totarotechnologies.com
www.totarotechnologies.com
----- Original Message -----
From: <niels@wxn.nl>
To: <asterisk-users@lists.digium.com>
Sent: Tuesday, October 26, 2004 9:09 AM
Subject: RE: [Asterisk-Users] H323.conf question
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@lists.digium.com
[mailto:asterisk-users-bounces@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@totarotechnologies.com
www.totarotechnologies.com
----- Original Message -----
From: <niels@wxn.nl>
To: <asterisk-users@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@lists.digium.com
[mailto:asterisk-users-bounces@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@totarotechnologies.com
www.totarotechnologies.com
----- Original Message -----
From: <niels@wxn.nl>
To: <asterisk-users@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@lists.digium.com
[mailto:asterisk-users-bounces@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@totarotechnologies.com
www.totarotechnologies.com
----- Original Message -----
From: <niels@wxn.nl>
To: <asterisk-users@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@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@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@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@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@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@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@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@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@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@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
A Pity,
Still the same in 1.0.2 ... Can't authorize the calls based on IP  :-(
Regards
-----Original Message-----
From: asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Steve
Totaro
Sent: Tuesday, October 26, 2004 7:49 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] H323.conf question
sometimes its like pulling teeth
Thanks,
Steve Totaro
stotaro@totarotechnologies.com
www.totarotechnologies.com
----- Original Message -----
From: <niels@wxn.nl>
To: <asterisk-users@lists.digium.com>
Sent: Tuesday, October 26, 2004 11:00 AM
Subject: RE: [Asterisk-Users] H323.conf question
When reloading: it just parses h323.conf without any errors or warnings
When I dial it will dial out (no problem) .. Only.. It Just uses the
wrong (default) context.. 
Further I see nothing suspicious in the console even with not with
asterisk -vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvc :-)
To keep the problem clearly: I want asterisk to auth the incoming h323
calls based on the IP address the calls are coming from 
 
-----Original Message-----
From: asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Steve
Totaro
Sent: Tuesday, October 26, 2004 4:45 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] H323.conf question
output from console?
Thanks,
Steve Totaro
stotaro@totarotechnologies.com
www.totarotechnologies.com
----- Original Message -----
From: <niels@wxn.nl>
To: <asterisk-users@lists.digium.com>
Sent: Tuesday, October 26, 2004 9:09 AM
Subject: RE: [Asterisk-Users] H323.conf question
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@lists.digium.com
[mailto:asterisk-users-bounces@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@totarotechnologies.com
www.totarotechnologies.com
----- Original Message -----
From: <niels@wxn.nl>
To: <asterisk-users@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@lists.digium.com
[mailto:asterisk-users-bounces@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@totarotechnologies.com
www.totarotechnologies.com
----- Original Message -----
From: <niels@wxn.nl>
To: <asterisk-users@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@lists.digium.com
[mailto:asterisk-users-bounces@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@totarotechnologies.com
www.totarotechnologies.com
----- Original Message -----
From: <niels@wxn.nl>
To: <asterisk-users@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@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@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@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@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@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@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@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@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@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@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