Well,
I suppose that the dialplan is only in the configuration file called
extensions.conf.
So I've tried to add the line
exten => _246079020,1,DIAL(SIP/${SIP_HEADER(To)},30,t)
Where I've supposed it would work the way, that when there is an
incoming call, where in the INVITE line of the message is sip:246079020,
then there will be ringed the line with the number that is contained in
the field To. Problem is, this way it does not work. I can not find any
litereture concerning SIP_HEADER.
Where do i do the mistake???
Thank
Tomas
Olle E. Johansson napsal(a):
Tomáš Komárek wrote:
Well,
that is great, but I'm not a good programmer, so I would need some
furher details. Probably I will need to edit the file chan_sip.c and
then recompile Asterisk.
Is it true??
No, it's a dialplan function in CVS head. You do not need to program
anything. CVS head (the future 1.2) has dialplan applications and
dialplan functions. Please check the sample configuration files and the
help system for more information.
/Olle
---
Astricon 2005 - Early bird registration ends soon!
http://www.astricon.net/2005/
_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users