[asterisk-users] Send Re-invite from Dialplan application?

Sai P. Varanasi saiprabhakarv at yahoo.com
Wed Apr 15 04:12:08 CDT 2009


I couldn't find any pointers for this online. Is it possible through Async AGI? Let me know if anybody is aware of doing this.




________________________________
From: Martin <asterisklist at callthem.info>
To: Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users at lists.digium.com>
Sent: Tuesday, 14 April, 2009 4:21:17 AM
Subject: Re: [asterisk-users] Send Re-invite from Dialplan application?

sorry,

You can set SIP_CODEC before the call is answered ... most likely as
one of the first priorities.
It causes the 200 OK to INVITE contain the codec you specify as the first one.

I'm not aware of reinviting while in a call other than to switchover
to T.38 ... it can be coded in but I'm not
sure if it's already there

Martin

On Mon, Apr 13, 2009 at 6:05 AM, Sai P. Varanasi
<saiprabhakarv at yahoo.com> wrote:
> Hi,
>   I have a requirement where an IVR application on asterisk has to play a
> audio file in g729 and when a digit is pressed, the call should switch to
> another codec (say ulaw). So, What can I do in the extensions.conf to
> trigger a re-negotiation of codec?
>
> I used
> exten => 55xx,n,Set(SIP_CODEC=ulaw)
>
> but, I suppose this affects the next call and not the current one.
>
> Please help ASAP
>
> Thanks,
> Sai
> ________________________________
> Add more friends to your messenger and enjoy! Invite them now.
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> 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 --

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



      Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090415/7e998afa/attachment.htm 


More information about the asterisk-users mailing list