[Asterisk-Users] Examples of LIMIT_CONNECT_FILE and other LIMIT_XX Options

Obelix asterisklists at adontendev.net
Sat Nov 19 13:32:29 MST 2005


Quoting Obelix <asterisklists at adontendev.net>:

I tried this dial command

SIP/providername/002345678|42|HL(26580000:61000:30000:LIMIT_CONNECT_FILE=soundfile)

    -- Limit Data:
    -- timelimit=26580000
    -- play_warning=61000
    -- play_to_caller=yes
    -- play_to_callee=no
    -- warning_freq=30000
    -- start_sound=UNDEF
    -- warning_sound=timeleft
    -- end_sound=UNDEF

The start_sound option is blank. I expect it to be the value soundfile which is
the LIMIT_CONNECT_FILE option, but it says UNDEF.

Am I using the right syntax in the dial command?



> Quoting Andres <andres at telesip.net>:
>
>
> > >
> > At the top of extensions.conf you can put:
> >
> > LIMIT_TIMEOUT_FILE=no-funds
> > LIMIT_CONNECT_FILE=timeleft
> >
>
> How do you apply it to a particular call in a dial command itself? I require
> it
> for dynamically generated dial commands in a calling card app, and it may not
> apply to all calls.
>
> Can the extensions.conf option be applied on a peer, or user basis?
>
> Obelix
>
>
> > Obelix wrote:
> >
> > >I want to play a sound on the connection of a call using the
> > LIMIT_CONNECT_FILE
> > >option but can't find any examples.
> > >
> > >Does anyone have any examples? Examples of the usage of the other LIMIT_xx
> > >options would also be appreciated.
> > >
> > >Obelix
> > >
> > >
> > At the top of extensions.conf you can put:
> >
> > LIMIT_TIMEOUT_FILE=no-funds
> > LIMIT_CONNECT_FILE=timeleft
> >
> >
> > Andres.
> >
> > _______________________________________________
> > --Bandwidth and Colocation sponsored by Easynews.com --
> >
> > Asterisk-Users mailing list
> > Asterisk-Users at lists.digium.com
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> > To UNSUBSCRIBE or update options visit:
> >    http://lists.digium.com/mailman/listinfo/asterisk-users
> >
>
>
>
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
> _______________________________________________
> --Bandwidth and Colocation sponsored by Easynews.com --
>
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>




----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.




More information about the asterisk-users mailing list