Re: [Asterisk-java-users] Association channel-extension/context
Brought to you by:
srt
From: Bruno K. <bru...@un...> - 2007-03-21 16:01:24
|
Good! I'll try this. This forces to know the context however but it is = acceptable! BTW I had missed http://www.voip-info.org/wiki/view/Asterisk+local+channels. Thanks Chris.=20 > -----Message d'origine----- > De : ast...@li...=20 > [mailto:ast...@li...] De=20 > la part de Chris Howard > Envoy=E9 : mercredi 21 mars 2007 16:52 > =C0 : ast...@li... > Objet : Re: [Asterisk-java-users] Association=20 > channel-extension/context >=20 > Bruno Konik wrote: > > Hello Chris, > > > > Do you mean that it would work for any kind of channel=20 > (SIP, zap, iax)? Is the 'Local' a special keyword? > > > > Thanks, > > > > Bruno > > =20 >=20 > If you have a context like: >=20 > [somecontext] > exten =3D> 1234,1,Dial(SIP/joebob) > exten =3D> 1234,n,Hangup() > exten =3D> 1235,1,Dial(Zap/g1/14045551212) exten =3D>=20 > 1235,n,Hangup() exten =3D>=20 > 5555,1,VoiceMailMain(s${CALLERIDNUM}@${VM_CONTEXT}) > exten =3D> 5555,n,Hangup() > exten =3D> 6666,1,Playback(tt-monkeys); > exten =3D> 6666,n,Hangup() >=20 > And you originate using Local/1234@somecontext then it will=20 > call SIP/joebob. If you originate to Local/1235@somecontext=20 > then it will dial out the g1 trunk to the number 14045551212 etc.... >=20 > Chris >=20 >=20 >=20 > -------------------------------------------------------------- > ----------- > Take Surveys. Earn Cash. Influence the Future of IT Join=20 > SourceForge.net's Techsay panel and you'll get the chance to=20 > share your opinions on IT & business topics through brief=20 > surveys-and earn cash=20 > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge > &CID=3DDEVDEV > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users >=20 > -------------------------------------------------------------- > ------------------------- > Orange vous informe que cet e-mail a ete controle par=20 > l'anti-virus mail.=20 > Aucun virus connu a ce jour par nos services n'a ete detecte. >=20 >=20 >=20 |