Deon
2005-May-07 11:29 UTC
[Asterisk-Users] h323.conf - Asterisk not routing incoming calls based on IP - Ignoring type=user + host= + context=
Ok, at the bottom of my h323.conf file on my 1st server I have this:
; ---------------------
[test]
type=user
host=209.237.227.185
context=termination-test
incominglimit=10
accountcode=005
; ---------------------
Using an Asterisk at the other IP, I have this:
exten => _1NXXNXXXXXX,1,Dial(H323/${EXTEN}@64.135.11.85,,o)
This should send a call from the test-server to the IP of the 1st server;
the server should see the call as coming from the host IP of [test] and
send it to the termination-test context, not the default "incoming"
context, however I see this on the 1st server:
================================================================ == Starting
H323/ip$209.237.227.185:46373/20161 at
incoming,18005551212,1 failed so falling back to exten 's'
== Starting H323/ip$209.237.227.185:46373/20161 at incoming,s,1 still
failed so falling back to context 'default'
May 7 14:19:18 WARNING[30649]: pbx.c:1889 ast_pbx_run: Channel
'H323/ip$209.237.227.185:46373/20161' sent into invalid extension
's' in
context 'default', but no invalid handler
================================================================
The remote-test server sends the h323 call perfectly, but the receiving
server isn't matching and sending it to the propper context. Any idea why?
My [test] user is taken right out of the example h323.conf file
(billybob).
Best Regards,
Deon
__________________________________
Yahoo! Mail Mobile
Take Yahoo! Mail with you! Check email on your mobile phone.
http://mobile.yahoo.com/learn/mail
Deon
2005-May-08 11:15 UTC
[Asterisk-Users] Re: h323.conf - Asterisk not routing incoming calls based on IP - Ignoring type=user + host= + context=
Anybody have any updates to this posting? Why won't it route calls from 209.237.227.185 to the [termination-test] context? I've tried type=user, type=peer and type=friend The funny thing is in the sip.conf, I have an entry, "type=peer" and it works for inbound, I set host=209.237.227.185 with type=peer and any incoming sip calls from that IP goes to the right context. I then do a Dial(SIP/5551212@test) and it dials out through that peer as well, so I've got a peer working both ways. I changed it to "user" and I can't send calls out through, or get calls in from, that IP. Seems like it's backwards somewhere in there. But in the h323.conf file I tried peer/user/friend to no avail, still not routing calls properly. --- Deon <mr_e_glitch@yahoo.com> wrote:> Ok, at the bottom of my h323.conf file on my 1st server I have this: > > ; --------------------- > [test] > type=user > host=209.237.227.185 > context=termination-test > incominglimit=10 > accountcode=005 > ; --------------------- > > Using an Asterisk at the other IP, I have this: > exten => _1NXXNXXXXXX,1,Dial(H323/${EXTEN}@64.135.11.85,,o) > > This should send a call from the test-server to the IP of the 1st > server; > the server should see the call as coming from the host IP of [test] and > send it to the termination-test context, not the default "incoming" > context, however I see this on the 1st server: > > ================================================================> == Starting H323/ip$209.237.227.185:46373/20161 at > incoming,18005551212,1 failed so falling back to exten 's' > == Starting H323/ip$209.237.227.185:46373/20161 at incoming,s,1 still > failed so falling back to context 'default' > May 7 14:19:18 WARNING[30649]: pbx.c:1889 ast_pbx_run: Channel > 'H323/ip$209.237.227.185:46373/20161' sent into invalid extension 's' in > context 'default', but no invalid handler > ================================================================> > The remote-test server sends the h323 call perfectly, but the receiving > server isn't matching and sending it to the propper context. Any idea > why? > My [test] user is taken right out of the example h323.conf file > (billybob). > > Best Regards, > Deon > > > > __________________________________ > Yahoo! Mail Mobile > Take Yahoo! Mail with you! Check email on your mobile phone. > http://mobile.yahoo.com/learn/mail >Yahoo! Mail Stay connected, organized, and protected. Take the tour: http://tour.mail.yahoo.com/mailtour.html
Deon
2005-May-09 08:22 UTC
[Asterisk-Users] Re: h323.conf - Asterisk not routing incoming calls based on IP - Ignoring type=user + host= + context=
Any ideas? --- Deon <mr_e_glitch@yahoo.com> wrote:> Anybody have any updates to this posting? Why won't it route calls from > 209.237.227.185 to the [termination-test] context? I've tried > type=user, > type=peer and type=friend > > The funny thing is in the sip.conf, I have an entry, "type=peer" and it > works for inbound, I set host=209.237.227.185 with type=peer and any > incoming sip calls from that IP goes to the right context. I then do a > Dial(SIP/5551212@test) and it dials out through that peer as well, so > I've > got a peer working both ways. I changed it to "user" and I can't send > calls out through, or get calls in from, that IP. Seems like it's > backwards somewhere in there. But in the h323.conf file I tried > peer/user/friend to no avail, still not routing calls properly. > > --- Deon <mr_e_glitch@yahoo.com> wrote: > > Ok, at the bottom of my h323.conf file on my 1st server I have this: > > > > ; --------------------- > > [test] > > type=user > > host=209.237.227.185 > > context=termination-test > > incominglimit=10 > > accountcode=005 > > ; --------------------- > > > > Using an Asterisk at the other IP, I have this: > > exten => _1NXXNXXXXXX,1,Dial(H323/${EXTEN}@64.135.11.85,,o) > > > > This should send a call from the test-server to the IP of the 1st > > server; > > the server should see the call as coming from the host IP of [test] > and > > send it to the termination-test context, not the default "incoming" > > context, however I see this on the 1st server: > > > > ================================================================> > == Starting H323/ip$209.237.227.185:46373/20161 at > > incoming,18005551212,1 failed so falling back to exten 's' > > == Starting H323/ip$209.237.227.185:46373/20161 at incoming,s,1 > still > > failed so falling back to context 'default' > > May 7 14:19:18 WARNING[30649]: pbx.c:1889 ast_pbx_run: Channel > > 'H323/ip$209.237.227.185:46373/20161' sent into invalid extension 's' > in > > context 'default', but no invalid handler > > ================================================================> > > > The remote-test server sends the h323 call perfectly, but the > receiving > > server isn't matching and sending it to the propper context. Any idea > > why? > > My [test] user is taken right out of the example h323.conf file > > (billybob). > > > > Best Regards, > > Deon > > > > > > > > __________________________________ > > Yahoo! Mail Mobile > > Take Yahoo! Mail with you! Check email on your mobile phone. > > http://mobile.yahoo.com/learn/mail > > > > > > Yahoo! Mail > Stay connected, organized, and protected. Take the tour: > http://tour.mail.yahoo.com/mailtour.html > > _______________________________________________ > 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 >__________________________________ Yahoo! Mail Mobile Take Yahoo! Mail with you! Check email on your mobile phone. http://mobile.yahoo.com/learn/mail