<div>Does the registration show up?</div>
<div>&nbsp;</div>
<div>try &quot;sip show registry&quot; at the CLI</div>
<div>&nbsp;</div>
<div>also try &quot;sip debug peer sip_proxy&quot; and post the result.</div>
<div>&nbsp;</div>
<div>Might be able to see what's going on there...</div>
<div>&nbsp;</div>
<div>mark</div>
<div><br><br>&nbsp;</div>
<div><span class="gmail_quote">On 7/1/05, <b class="gmail_sendername">David</b> &lt;<a href="mailto:asterisk@barnatech.com">asterisk@barnatech.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi,<br><br>I have been trying to configure my Asterisk to use a Sip provider for<br>out and incoming calls.
<br>I only have one user and password for connect to my sip provider.<br><br>My sip.conf is:<br><br>[general]<br>;disallow=gsm<br>;allow=ulaw<br>port = 5060&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; Port to bind to<br>bindaddr = <a href="http://0.0.0.0">
0.0.0.0</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;; Address to bind to<br>context = default&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; Default for incoming calls<br>callerid=No CallID<br>register =&gt; <a href="mailto:user:password@sipprovider.com">user:password@sipprovider.com
</a><br><br>[sip_proxy]<br>type=friend<br>username=user<br>fromuser=user<br>secret=password<br>host=siprovider<br>dtmfmode=inband<br><br>The problem is:<br>If i put in the [sip_proxy] section type=friend, incoming calls doesn't
<br>works. If the type is set to another value (for example peer) incoming<br>calls works fine, but outgoing calls doesn't works.<br><br>What can I do?<br><br>Thanks<br>David<br>_______________________________________________
<br>Asterisk-Users mailing list<br><a href="mailto:Asterisk-Users@lists.digium.com">Asterisk-Users@lists.digium.com</a><br><a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users
</a><br>To UNSUBSCRIBE or update options visit:<br>&nbsp;&nbsp;<a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br><br><br>-- <br>regards,
<br><br>Mark P. Edwards<br>TEL:+61 408 601 107<br>SKYPE: mark.p.edwards<br>