I don't think you can set SIP properties in some variables anywhere in
asterisk dialplan or call file. What you can do is change the directmedia
options of the SIP or any other channel you're using. i.e if your call file
has

CHANNEL=SIP/12345@latestgateway

Then change the properties of the [latestgateway] in sip.conf. Also if
you're using an IP address directly

CHANNEL=SIP/[email protected]

Then you can change the directmedia directive in sip.conf [general]
settings.

Hope it helped.

BR
Sammy Go.

On Wed, Jul 4, 2012 at 2:08 AM, sathiish kumar <[email protected]>wrote:

> I am using call files to make calls to a remote machine but can't seem to
> quite understand the directmedia options that are set by default in
> Asterisk.Is there any way i can specify the directmedia options using call
> files?
>
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>                http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to