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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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 [EMAIL PROTECTED] www.totarotechnologies.com ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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 [EMAIL PROTECTED] www.totarotechnologies.com ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users