[asterisk-users] sip_header=value?

Rizwan Hisham rizwanhasham at gmail.com
Mon Apr 9 03:32:20 MST 2007


No, The problem is, When i dial like this:

Dial(SIP/${EXTEN}@user)
The "To" header field received on the peer asterisk contains the extension
which i dialed. and whenevr i dial like this:

Dial(SIP/user)
The "To" Header field received on peer asterisk contains the s extension
instead of the dialed extension for the user.

I want it to set it to the dialed extension always. So is it possible in the
dialplan or thru agi script or thru anyother means, or do i have to jump
into the source code?

On 4/9/07, Chris Mason (Lists) <lists at masonc.com> wrote:
>
>
> Something like
> exten => s,1,SetVar(ALERT_INFO=something)
>
>
>
> --
> Chris Mason
> (264) 497-5670 <http://www.snapanumber.com/> Fax: (264) 497-8463 <http://www.snapanumber.com/>
> Int:  (305) 704-7249 <http://www.snapanumber.com/> Fax: (815)301-9759 <http://www.snapanumber.com/> UK 44.207.183.0271 <http://www.snapanumber.com/>
> Cell: 264-235-5670 <http://www.snapanumber.com/>
> Yahoo IM: netconcepts_anguilla at yahoo.com
>
>
> --
> This message has been scanned for viruses and
> dangerous content by *MailScanner* <http://www.mailscanner.info/>, and is
> believed to be clean.
> _______________________________________________
> --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
>
>


-- 
Regards
Rizwan Hisham
Software Engineer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070409/dd083a65/attachment.htm


More information about the asterisk-users mailing list