<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.0.10">
</HEAD>
<BODY>
But the provider also has a gateway to provide the possibility to call to the pstn (and the pstn number exists) - so what i tried to achive is to call an external pstn number thru that gateway. <BR>
This works if i connect the xlite client directly to the provider - then i can dial the external number.<BR>
<BR>
So it seems that i have to configure asterisk that way, that it is dialing using the user agent !.<BR>
How can i do that - how does the configuration look like ?<BR>
<BR>
any suggestions <BR>
johannes<BR>
<BR>
Am Do, den 09.09.2004 schrieb Begumisa Gerald M um 20:37:
<BLOCKQUOTE TYPE=CITE>
<PRE><FONT COLOR="#737373"><I> 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</FONT>
<A HREF="http://lists.digium.com/mailman/listinfo/asterisk-users"><U>http://lists.digium.com/mailman/listinfo/asterisk-users</U></A>
<FONT COLOR="#737373">To UNSUBSCRIBE or update options visit:
</FONT><A HREF="http://lists.digium.com/mailman/listinfo/asterisk-users"><U>http://lists.digium.com/mailman/listinfo/asterisk-users</U></I></A></PRE>
</BLOCKQUOTE>
</BODY>
</HTML>