[Asterisk-Users] Ignoring the called number in the INVITE message

2005-08-11 Thread Tomáš Komárek
Hello, I've got such a problem. I'm configuring Asterisk as a backup server, if call to the first one fails. My problem is, that the redirection from the sending machine work so, that in the INVITE line of the INVITE message is the presentation number of the Asterisk server and in the To

Re: [Asterisk-Users] Ignoring the called number in the INVITE message

2005-08-11 Thread Olle E. Johansson
Tomáš Komárek wrote: Hello, I've got such a problem. I'm configuring Asterisk as a backup server, if call to the first one fails. My problem is, that the redirection from the sending machine work so, that in the INVITE line of the INVITE message is the presentation number of the Asterisk

Re: [Asterisk-Users] Ignoring the called number in the INVITE message

2005-08-11 Thread Tomáš Komárek
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?? Would you please advice me? Thanks in advance. Tomas Olle E. Johansson napsal(a): Tomáš Komárek wrote:

Re: [Asterisk-Users] Ignoring the called number in the INVITE message

2005-08-11 Thread Olle E. Johansson
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

Re: [Asterisk-Users] Ignoring the called number in the INVITE message

2005-08-11 Thread Tomáš Komárek
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