Hi, Is it possible to force using codec depends on extension? For example, voice codec is ILBC and with some prefix fax code should be ulaw. Thanks. Best regards, Michael -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060408/301a21ce/attachment.htm
Eric "ManxPower" Wieling wrote:> Michael Strelnikov wrote: >> Hi, >> >> Is it possible to force using codec depends on extension? For >> example, >> voice codec is ILBC and with some prefix fax code should be ulaw. > > [root@fs-1 asterisk]# grep CODEC asterisk-1.2/doc/* > asterisk-1.2/doc/README.variables:${SIP_CODEC} Set the SIP codec for a > call > [root@fs-1 asterisk]# > _______________________________________________Great replies Manx. Not only do we get our answers, we are being enabled to answer them ourselves in the future. I like your style. Steve Totaro
Michael Strelnikov wrote:> Hi, > > Is it possible to force using codec depends on extension? For example, > voice codec is ILBC and with some prefix fax code should be ulaw.[root@fs-1 asterisk]# grep CODEC asterisk-1.2/doc/* asterisk-1.2/doc/README.variables:${SIP_CODEC} Set the SIP codec for a call [root@fs-1 asterisk]#
Disallow=all allow=ulaw _____ From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Michael Strelnikov Sent: Saturday, April 08, 2006 7:25 PM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] Force codec Hi, Is it possible to force using codec depends on extension? For example, voice codec is ILBC and with some prefix fax code should be ulaw. Thanks. Best regards, Michael -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060409/bab4ac00/attachment.htm
Kerry Garrison wrote:> Disallow=all > allow=ulaw >N.B. the problem is "depending on extension," not context or protocol. . . B.> > ------------------------------------------------------------------------ > *From:* asterisk-users-bounces@lists.digium.com > [mailto:asterisk-users-bounces@lists.digium.com] *On Behalf Of > *Michael Strelnikov > *Sent:* Saturday, April 08, 2006 7:25 PM > *To:* asterisk-users@lists.digium.com > *Subject:* [Asterisk-Users] Force codec > > Hi, > > Is it possible to force using codec depends on extension? For > example, voice codec is ILBC and with some prefix fax code should be > ulaw. > > Thanks. > > Best regards, > Michael > http://lists.digium.com/mailman/listinfo/asterisk-users
What about different extensions using different connections? Paul Hales Technical Manager AsteriskIT ----- Original Message ----- From: "Brian Capouch" <brianc@palaver.net> To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users@lists.digium.com> Sent: Monday, April 10, 2006 4:26 AM Subject: Re: [Asterisk-Users] Force codec> Kerry Garrison wrote: > > Disallow=all > > allow=ulaw > > > > N.B. the problem is "depending on extension," not context or protocol. . . > > B. > > > >------------------------------------------------------------------------> > *From:* asterisk-users-bounces@lists.digium.com > > [mailto:asterisk-users-bounces@lists.digium.com] *On Behalf Of > > *Michael Strelnikov > > *Sent:* Saturday, April 08, 2006 7:25 PM > > *To:* asterisk-users@lists.digium.com > > *Subject:* [Asterisk-Users] Force codec > > > > Hi, > > > > Is it possible to force using codec depends on extension? For > > example, voice codec is ILBC and with some prefix fax code should be > > ulaw. > > > > Thanks. > > > > Best regards, > > Michael > > http://lists.digium.com/mailman/listinfo/asterisk-users > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
I want to make it global. On 4/10/06, pdhales@optusnet.com.au <pdhales@optusnet.com.au> wrote:> > What about different extensions using different connections? > > Paul Hales > Technical Manager > AsteriskIT > > ----- Original Message ----- > From: "Brian Capouch" <brianc@palaver.net> > To: "Asterisk Users Mailing List - Non-Commercial Discussion" > <asterisk-users@lists.digium.com> > Sent: Monday, April 10, 2006 4:26 AM > Subject: Re: [Asterisk-Users] Force codec > > > > Kerry Garrison wrote: > > > Disallow=all > > > allow=ulaw > > > > > > > N.B. the problem is "depending on extension," not context or protocol. . > . > > > > B. > > > > > > > > ------------------------------------------------------------------------ > > > *From:* asterisk-users-bounces@lists.digium.com > > > [mailto:asterisk-users-bounces@lists.digium.com] *On Behalf Of > > > *Michael Strelnikov > > > *Sent:* Saturday, April 08, 2006 7:25 PM > > > *To:* asterisk-users@lists.digium.com > > > *Subject:* [Asterisk-Users] Force codec > > > > > > Hi, > > > > > > Is it possible to force using codec depends on extension? For > > > example, voice codec is ILBC and with some prefix fax code should > be > > > ulaw. > > > > > > Thanks. > > > > > > Best regards, > > > Michael > > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > > _______________________________________________ > > --Bandwidth and Colocation provided by Easynews.com -- > > > > Asterisk-Users mailing list > > To UNSUBSCRIBE or update options visit: > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-- Best regards, Michael Strelnikov -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060409/952f1022/attachment.htm
I meant dialled extension, not originating extension. like : exten => _37X,1,Dial(IAX2/FAX/${EXTEN}) exten => _38X,1,Dial(IAX2/NOTFAX/${EXTEN}) Paul Hales Technical Manager AsteriskIT ----- Original Message ----- From: Michael Strelnikov To: Asterisk Users Mailing List - Non-Commercial Discussion Sent: Monday, April 10, 2006 11:13 AM Subject: Re: [Asterisk-Users] Force codec I want to make it global. On 4/10/06, pdhales@optusnet.com.au < pdhales@optusnet.com.au> wrote: What about different extensions using different connections? Paul Hales Technical Manager AsteriskIT ----- Original Message ----- From: "Brian Capouch" <brianc@palaver.net> To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users@lists.digium.com> Sent: Monday, April 10, 2006 4:26 AM Subject: Re: [Asterisk-Users] Force codec > Kerry Garrison wrote: > > Disallow=all > > allow=ulaw > > > > N.B. the problem is "depending on extension," not context or protocol. . . > > B. > > > > ------------------------------------------------------------------------ > > *From:* asterisk-users-bounces@lists.digium.com > > [mailto:asterisk-users-bounces@lists.digium.com ] *On Behalf Of > > *Michael Strelnikov > > *Sent:* Saturday, April 08, 2006 7:25 PM > > *To:* asterisk-users@lists.digium.com > > *Subject:* [Asterisk-Users] Force codec > > > > Hi, > > > > Is it possible to force using codec depends on extension? For > > example, voice codec is ILBC and with some prefix fax code should be > > ulaw. > > > > Thanks. > > > > Best regards, > > Michael > > http://lists.digium.com/mailman/listinfo/asterisk-users > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- Best regards, Michael Strelnikov ------------------------------------------------------------------------------ _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060409/a321b286/attachment.htm
But in this case you have to define two users on both sides. It is not most likely. On 4/10/06, pdhales@optusnet.com.au <pdhales@optusnet.com.au> wrote:> > I meant dialled extension, not originating extension. > > like : > > exten => _37X,1,Dial(IAX2/FAX/${EXTEN}) > > exten => _38X,1,Dial(IAX2/NOTFAX/${EXTEN}) > > Paul Hales > Technical Manager > AsteriskIT > > > ----- Original Message ----- > *From:* Michael Strelnikov <michaelst@gmail.com> > *To:* Asterisk Users Mailing List - Non-Commercial Discussion<asterisk-users@lists.digium.com> > *Sent:* Monday, April 10, 2006 11:13 AM > *Subject:* Re: [Asterisk-Users] Force codec > > I want to make it global. > > On 4/10/06, pdhales@optusnet.com.au < pdhales@optusnet.com.au> wrote: > > > > What about different extensions using different connections? > > > > Paul Hales > > Technical Manager > > AsteriskIT > > > > ----- Original Message ----- > > From: "Brian Capouch" <brianc@palaver.net> > > To: "Asterisk Users Mailing List - Non-Commercial Discussion" > > <asterisk-users@lists.digium.com> > > Sent: Monday, April 10, 2006 4:26 AM > > Subject: Re: [Asterisk-Users] Force codec > > > > > > > Kerry Garrison wrote: > > > > Disallow=all > > > > allow=ulaw > > > > > > > > > > N.B. the problem is "depending on extension," not context or protocol. > > . . > > > > > > B. > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > *From:* asterisk-users-bounces@lists.digium.com > > > > [mailto:asterisk-users-bounces@lists.digium.com ] *On Behalf Of > > > > *Michael Strelnikov > > > > *Sent:* Saturday, April 08, 2006 7:25 PM > > > > *To:* asterisk-users@lists.digium.com > > > > *Subject:* [Asterisk-Users] Force codec > > > > > > > > Hi, > > > > > > > > Is it possible to force using codec depends on extension? For > > > > example, voice codec is ILBC and with some prefix fax code > > should be > > > > ulaw. > > > > > > > > Thanks. > > > > > > > > Best regards, > > > > Michael > > > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > > > > _______________________________________________ > > > --Bandwidth and Colocation provided by Easynews.com -- > > > > > > Asterisk-Users mailing list > > > To UNSUBSCRIBE or update options visit: > > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > > > > > _______________________________________________ > > --Bandwidth and Colocation provided by Easynews.com -- > > > > Asterisk-Users mailing list > > To UNSUBSCRIBE or update options visit: > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > > > > -- > Best regards, > Michael Strelnikov > > ------------------------------ > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > > >-- Best regards, Michael Strelnikov -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060409/6bab57fa/attachment.htm
Any futher suggestions? On 4/10/06, Michael Strelnikov <michaelst@gmail.com> wrote:> > But in this case you have to define two users on both sides. It is not > most likely. > > > On 4/10/06, pdhales@optusnet.com.au <pdhales@optusnet.com.au> wrote: > > > > I meant dialled extension, not originating extension. > > > > like : > > > > exten => _37X,1,Dial(IAX2/FAX/${EXTEN}) > > > > exten => _38X,1,Dial(IAX2/NOTFAX/${EXTEN}) > > > > Paul Hales > > Technical Manager > > AsteriskIT > > > > > > ----- Original Message ----- > > *From:* Michael Strelnikov <michaelst@gmail.com> > > *To:* Asterisk Users Mailing List - Non-Commercial Discussion<asterisk-users@lists.digium.com> > > *Sent:* Monday, April 10, 2006 11:13 AM > > *Subject:* Re: [Asterisk-Users] Force codec > > > > I want to make it global. > > > > On 4/10/06, pdhales@optusnet.com.au < pdhales@optusnet.com.au> wrote: > > > > > > What about different extensions using different connections? > > > > > > Paul Hales > > > Technical Manager > > > AsteriskIT > > > > > > ----- Original Message ----- > > > From: "Brian Capouch" <brianc@palaver.net> > > > To: "Asterisk Users Mailing List - Non-Commercial Discussion" > > > <asterisk-users@lists.digium.com > > > > Sent: Monday, April 10, 2006 4:26 AM > > > Subject: Re: [Asterisk-Users] Force codec > > > > > > > > > > Kerry Garrison wrote: > > > > > Disallow=all > > > > > allow=ulaw > > > > > > > > > > > > > N.B. the problem is "depending on extension," not context or > > > protocol. . . > > > > > > > > B. > > > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > > > *From:* asterisk-users-bounces@lists.digium.com > > > > > [mailto:asterisk-users-bounces@lists.digium.com ] *On Behalf > > > Of > > > > > *Michael Strelnikov > > > > > *Sent:* Saturday, April 08, 2006 7:25 PM > > > > > *To:* asterisk-users@lists.digium.com > > > > > *Subject:* [Asterisk-Users] Force codec > > > > > > > > > > Hi, > > > > > > > > > > Is it possible to force using codec depends on extension? > > > For > > > > > example, voice codec is ILBC and with some prefix fax code > > > should be > > > > > ulaw. > > > > > > > > > > Thanks. > > > > > > > > > > Best regards, > > > > > Michael > > > > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > > > > > > _______________________________________________ > > > > --Bandwidth and Colocation provided by Easynews.com -- > > > > > > > > Asterisk-Users mailing list > > > > To UNSUBSCRIBE or update options visit: > > > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > > > > > > > > _______________________________________________ > > > --Bandwidth and Colocation provided by Easynews.com -- > > > > > > Asterisk-Users mailing list > > > To UNSUBSCRIBE or update options visit: > > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > > > > > > > > > -- > > Best regards, > > Michael Strelnikov > > > > ------------------------------ > > > > _______________________________________________ > > --Bandwidth and Colocation provided by Easynews.com -- > > > > Asterisk-Users mailing list > > To UNSUBSCRIBE or update options visit: > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > > > > _______________________________________________ > > --Bandwidth and Colocation provided by Easynews.com -- > > > > Asterisk-Users mailing list > > To UNSUBSCRIBE or update options visit: > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > > > > > > > -- > Best regards, > Michael Strelnikov >-- Best regards, Michael Strelnikov -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060411/8637b789/attachment.htm