<div dir="ltr">What is vitel-outbound?? an IP address??<div><br><div>And what version of Asterisk is this?</div><div><br></div><div>Regards,</div><div>Juan<br><br><div class="gmail_quote">On Sun, Oct 19, 2008 at 3:30 PM, Stephen Reese <span dir="ltr"><<a href="mailto:rsreese@gmail.com">rsreese@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I'm trying to add a second extension to my setup. The second device is<br>
able to successfully connect to the Asterisk server. I am unable to<br>
contact extension 101 from 102 and vise-versa. Also are my context<br>
setup logically or is there a better fashion to organize them? My<br>
error is at the bottom.<br>
<br>
Here is the extension.conf<br>
<br>
[default]<br>
;<br>
; By default we include the demo. In a production system, you<br>
; probably don't want to have the demo there.<br>
;<br>
;include => demo<br>
<br>
exten => 101,1,Dial(SIP/101&SIP/9046260705@vitel-outbound,30)<br>
exten => 101,n,GotoIf($["${DIALSTATUS}" = "CHANUNAVAIL"]?lbl_default_1:)<br>
exten => 101,n,GotoIf($["${DIALSTATUS}" = "NOANSWER"]?lbl_default_1:)<br>
exten => 101,n(lbl_default_0),Hangup()<br>
exten => 101,n(lbl_default_1),Dial(SIP/9046260705@vitel-outbond,30)<br>
exten => 101,n,Goto(lbl_default_0)<br>
<br>
exten => 102,1,Dial(SIP/102,20)<br>
exten => 102,n,Hangup<br>
<br>
;This automatically calls the right mailbox using the ${CALLERIDNUM}<br>
variable in the current context (var ${CONTEXT}).<br>
exten=>*98,1,VoiceMailMain(${CALLERIDNUM}@${CONTEXT})<br>
<br>
include => inbound<br>
include => outgoing<br>
<br>
[inbound]<br>
exten => 9045622082,1,Goto(default,101,1)<br>
<br>
[outgoing]<br>
; The following gives an Unknown Caller ID<br>
;exten => _1NXXNXXXXXX,1,Set(CALLERID(num)=XXXXXXXXXX)<br>
;exten => _1NXXNXXXXXX,2,Set(CALLERID(name)=XXXXXXXXXX)<br>
<br>
exten => _1NXXNXXXXXX,1,Set(CALLERID(num)=9045622082)<br>
exten => _1NXXNXXXXXX,n,Set(CALLERID(name)="Stephen Reese")<br>
exten => _1NXXNXXXXXX,n,Dial(SIP/${EXTEN}@vitel-outbound)<br>
<br>
exten => _NXXXXXX,1,Set(CALLERID(num)=9045622082)<br>
exten => _NXXXXXX,n,Set(CALLERID(name)="Stephen Reese")<br>
exten => _NXXXXXX,n,Dial(SIP/1904${EXTEN}@vitel-outbound)<br>
<br>
exten => _NXXNXXXXXX,1,Set(CALLERID(num)=9045622082)<br>
exten => _NXXNXXXXXX,n,Set(CALLERID(name)="Stephen Reese")<br>
exten => _NXXNXXXXXX,n,Dial(SIP/1${EXTEN}@vitel-outbound)<br>
<br>
exten => _011.,1,Set(CALLERID(num)=9045622082)<br>
exten => _011.,n,Set(CALLERID(name)="Stephen Reese")<br>
exten => _011.,n,Dial(SIP/${EXTEN}@vitel-outbound)<br>
<br>
exten => _911,1,Set(CALLERID(num)=9045622082)<br>
exten => _911,n,Set(CALLERID(name)="Stephen Reese")<br>
exten => _911,n,Dial(SIP/911@vitel-outbound)<br>
<br>
This is a call from extension 101 to 102 that fails with a busy signal.<br>
<br>
-- Executing [102@default:1] Dial("SIP/101-08266f60",<br>
"'SIP/102',20") in new stack<br>
[Oct 19 15:28:28] WARNING[26596]: channel.c:3470 ast_request: No<br>
channel type registered for ''SIP'<br>
[Oct 19 15:28:28] WARNING[26596]: app_dial.c:1450 dial_exec_full:<br>
Unable to create channel of type ''SIP' (cause 66 - Channel not<br>
implemented)<br>
== Everyone is busy/congested at this time (1:0/0/1)<br>
-- Executing [102@default:2] Hangup("SIP/101-08266f60", "") in new stack<br>
== Spawn extension (default, 102, 2) exited non-zero on 'SIP/101-08266f60'<br>
<br>
_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</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>
</blockquote></div><br><br clear="all"><br>-- <br>Juan E. Rodríguez<br>Cel. 829-886-5565<br>Work: 809-724-9227<br>
</div></div></div>