<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Why are you specifying the password and server IP in the dial string
when it's included in sip.conf? It's unnecessary.<br>
<br>
I believe that Dial(SIP/gs102/1234) will achieve what you want.<br>
<br>
ast guy wrote:
<blockquote
cite="mid:c28c863a0802082321v3aa9779ak401ef5787f42f640@mail.gmail.com"
type="cite">Hi,<br>
<br>
I'm trying to call a SIP server while providing the SIP server
username/password in dial string but it's not working ...<br>
<br>
Dial(<a moz-do-not-send="true" href="mailto:SIP/gs102:test@192.168.2.81">SIP/gs102:test@192.168.2.81</a>);<br>
<br>
User on sip server (<a moz-do-not-send="true" href="http://192.168.2.81">192.168.2.81</a>):<br>
<br>
[gs102]<br>
disallow=all<br>
allow=ulaw<br>
allow=alaw<br>
type=friend<br>
username=gs102<br>
secret=test<br>
host=dynamic<br>
dtmfmode=inband<br>
defaultip=<a moz-do-not-send="true" href="http://192.168.2.1">192.168.2.1</a><br>
qualify=1000<br>
mailbox=102<br>
context=context-gs102<br>
<br>
Extensions.conf entry<br>
<br>
[context-gs102]<br>
<br>
exten => s,1, Answer();<br>
exten => s,n, Playback(demo-congrats);<br>
exten => s,n, Meetme(8600051);<br>
<br>
exten => 1234,1, Answer();<br>
exten => 1234,n, Playback(demo-congrats);<br>
exten => 1234,n, Meetme(8600051);<br>
<br>
<br>
When I dial I get following error on console<br>
<br>
-- Executing Dial("SIP/331-6263", "<a moz-do-not-send="true"
href="mailto:SIP/gs102:test@192.168.2.81">SIP/gs102:test@192.168.2.81</a>")
in new stack<br>
-- Called <a moz-do-not-send="true"
href="mailto:gs102:test@192.168.2.81">gs102:test@192.168.2.81</a><br>
-- SIP/192.168.2.81-0343 is circuit-busy<br>
== Everyone is busy/congested at this time (1:0/1/0)<br>
-- Executing Hangup("SIP/331-6263", "") in new stack<br>
== Spawn extension (default, 1234, 2) exited non-zero on
'SIP/331-6263'<br>
<br>
<br>
I want to call extension 1234 defined under gs102 defined context-gs102
context... what should be the exact Dialed SIP URL ?<br>
<br>
<br>
-ag<br>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
-- Bandwidth and Colocation Provided by <a class="moz-txt-link-freetext" href="http://www.api-digital.com">http://www.api-digital.com</a> --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
<a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a></pre>
</blockquote>
</body>
</html>