Huddleston, Robert
2004-Sep-09  10:36 UTC
[Asterisk-Users] Dialing Out through Provider with Authentica tion
Does anyone know how to do this with the OH323 channel driver?
I want the local (7 digit dialing) to go out an h323 that I have registered
to a gatekeeper...
can I do something like
exten => _7.,2,Dial(OH323/ipofgatekeeper)
-----Original Message-----
From: Begumisa Gerald M [mailto:beg_g@eahd.or.ug]
Sent: Thursday, September 09, 2004 2:37 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] Dialing Out through Provider with
Authentication
      On Thu, 9 Sep 2004, Johannes Hollerer wrote:
    > I try to dial out through a Provider, but for that i need to be
    > authenticated - it actually does not work !.
For my tests I did not need to be authenticated.  This is what I used in
asterisk:
exten => _7.,2,Dial(SIP/PROVIDER.COM/${EXTEN:1})
When I tried to use your scenario, as below
exten => _7.,2,Dial(SIP/USERNAME:PASSWORD@PROVIDER.COM/${EXTEN:1})
Here's what I get in my logs:
Sep  9 18:10:56 WARNING[137570304]: chan_sip.c:902 create_addr: No such
host: PROVIDER.COM/72312
What I gather from this is that its not legal to Dial() like that.  In my
limited SIP knowledge, it makes sense - you do not need to have a username
and / or password to place calls to extensions that a given provider (e.g
PROVIDER.COM) serves - if they do not serve those extensions, they will
give a "404 Not Found" error.
Hope that helps...
Gerald.
_______________________________________________
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
Apparently Analagous Threads
- Dialing Out through Provider with Authentication
- New Application: Broadcast
- RE: Is the 2.6 Linux kernel ready for produc tion * environment
- Looking for PRI Outbound Caller ID Configura tion
- solaris 8/samba3.0alpha15: ld.so.1: ls: fatal: reloca tion error: file /lib/nss_winbind.so.1: symbol socket: referenced symbol not found
