Hi,<div>The end-point which isn't registered in asterisk will hit the "default" context in asterisk. This is the one which you've defined in sip.conf general section i.e</div><div><br></div><div>[general]</div>
<div>...</div><div>context=my-context</div><div><br></div><div>Also, if your calls are successful from any unregistered endpoint then I think you've enable allowguest in sip.conf. </div><div><br></div><div>So if you need to bridge the call to 1234 extension make sure you've a dialplan like this in extensions.conf</div>
<div><br></div><div>[my-context]</div><div>exten => 1234,1,Dial(SIP/1234)</div><div>same => n,Hangup()</div><div>OR</div><div>exten => _X.,1,Dial(SIP/${EXTEN}) ;<== Security Warning, don't use in production server.</div>
<div><br></div><div>Hope this helps,</div><div><br></div><div>--</div><div>Regards,</div><div>Sammy<br><div class="gmail_quote"><br></div><div class="gmail_quote">On Mon, Nov 14, 2011 at 8:25 AM, Amar Akshat <span dir="ltr"><<a href="mailto:amar.akshat@gmail.com">amar.akshat@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<br>
I have an Endpoint written in C, which simply sends out SIP invite to<br>
another endpoint and also sets up media session after the call is<br>
initiated. Now I am using this endpoint to call to the Asterisk PBX.<br>
And the call is successfull.<br>
<br>
Now, I have a softphone registered with asterisk with extension 1234,<br>
and I want to call that softphone from my external endpoint which is<br>
not resgistered with Asterisk. So I am sending an invite to the SIP<br>
URI<br>
<br>
sip:1234@<host-ip>:<port>, however, this call does not ring the<br>
Softphone with extension, and the call is auto answered by Asterisk.<br>
How can I configure/enable Asterisk to forward that call to the<br>
softphone, rather than answering itself.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
<br>
Thank you...<br>
<br>
Amar Akshat<br>
<br>
Please excuse any spelling mistakes, as this email was sent from a<br>
"not so good" mobile device.<br>
<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</font></span></blockquote></div><br></div>