<div>for taking calls on broadvoice numbers, you need to put insecure=very and need a context in extensions.conf to handle incoming calls on the EXTEN you put in register statement in sip.conf</div>
<div>&nbsp;</div>
<div>also in sip.conf, put user or friend instead of peer.</div>
<div>&nbsp;</div>
<div>regards,</div>
<div>&nbsp;</div>
<div>Umair bari<br><br>&nbsp;</div>
<div><span class="gmail_quote">On 9/6/05, <b class="gmail_sendername">Bartosz Wegrzyn - asterisk</b> &lt;<a href="mailto:junk@lexoncom.com">junk@lexoncom.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 two accounts with broadvoice.<br>Now, I want to be able to distinguish between them.<br>
<br>I though that this would be simple by adding &quot;/EXTEN&quot; at the end of the<br>register statement. For example:<br>register =&gt; <a href="http://num1:pass@sip.broadvoice.com/1000">num1:pass@sip.broadvoice.com/1000
</a><br>Unfortunately, this is not working.<br>When I call into my box I hear busy tone.<br>My config looks like this:<br><br>[root@voip asterisk]# cat sip.conf<br>[general]<br>externip=mydomain<br>bindaddr = <a href="http://0.0.0.0">
0.0.0.0</a><br>port=5060<br>localnet=<a href="http://192.168.1.0/255.255.255.0">192.168.1.0/255.255.255.0</a><br>disallow=all<br>allow=ulaw<br>register =&gt; <a href="mailto:num1:pass@sip.broadvoice.com">num1:pass@sip.broadvoice.com
</a><br>register =&gt; num2:<a href="http://passsip.broadvoice.com">passsip.broadvoice.com</a><br>tos=0x18<br>srvlookup=yes<br>nat=never<br>insecure=yes<br><br><br>[<a href="http://sip.broadvoice.com">sip.broadvoice.com</a>
]<br>type=peer<br>username=NUM1<br>fromuser=NUM1<br>authuser=NUM1<br>secret=SECRET<br>host=<a href="http://sip.broadvoice.com">sip.broadvoice.com</a><br>context=sip<br>fromdomain=<a href="http://sip.broadvoice.com">sip.broadvoice.com
</a><br>canreinvite=no<br>nat=never<br>dtmfmode=inband<br><br>[sip.broadvoice.com.home]<br>type=peer<br>username=NUM2<br>fromuser=NUM2<br>authuser=NUM2<br>secret=SECRET<br>host=<a href="http://sip.broadvoice.com">sip.broadvoice.com
</a><br>context=sip<br>fromdomain=<a href="http://sip.broadvoice.com">sip.broadvoice.com</a><br>canreinvite=no<br>nat=never<br>dtmfmode=inband<br><br>[broadvoice-incoming]<br>type=peer<br>host=<a href="http://147.135.8.128">
147.135.8.128</a><br>context=from-broadvoice<br>qualify=yes<br>canreinvite=no<br>disallow=all<br>allow=ulaw<br>nat=never<br><br>[broadvoice-incoming2]<br>type=peer<br>host=<a href="http://147.135.0.128">147.135.0.128</a><br>
context=from-broadvoice<br>qualify=yes<br>canreinvite=no<br>disallow=all<br>allow=ulaw<br>nat=never<br><br>[broadvoice-incoming3]<br>type=peer<br>host=<a href="http://147.135.4.128">147.135.4.128</a><br>context=from-broadvoice
<br>qualify=yes<br>canreinvite=no<br>disallow=all<br>allow=ulaw<br>nat=never<br><br><br>In addition, I have this config in extensions.<br><br>[sip]<br><br>exten =&gt; 1000,1,Playback,welcome<br><br><br>Thanks in advance.<br>
<br>Bart<br><br><br><br><br><br><br><br><br>_______________________________________________<br>--Bandwidth and Colocation sponsored by <a href="http://Easynews.com">Easynews.com</a> --<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>