Regarding .Call filles

Hi All,

when i place the below .call file in the /var/spool/asterisk/outgoing

Dial :SIP/ace
context:conference
extension:300
priority:1

I am not makin guse of MaxRetry time and other fields.
The call is established to ace and he is forwarded to the extension which the MeetMe() Appl.
once the meeting is established after an interval of 10 mins the same .call file is executing again and the call made to the same channel .
This happens twice ie a retry is happening twice.
but it does not happen for the third time

after the call is established a line something like
StartRetry 1 12345678 (123)
is added to the .call file and the modification time of the file gets added by 10 mins
and the seconf time one more line like
StartRetry 2 12345678 (123)
gets added and again the modification time gets added by 10 mins.

the problem i am facing is once the user joins a conference he is called twice again for the same ongoin conference.
If the call gets hanged up before the 1st 10 mins or the 2nd 10 mins the .call file gets deleted automatically

I wanted to stop this 2 time retrying of calls from asterisk

Help !!!

Regards,
Eklavya

Is this a bug in Asterisk ?

how about if you add
MaxRetries=0?

Tried that too but same results

did you “answer” the call in extension?

I asnwered the call. The .call file gets deleted only after he call is hung up. Conference is happening , but it is retying twice even though the call is in progress

[conference]
exten => 300,1,Answer()
exten => 300,2,PlayBack(hello-world)
exten => 300,3,MeetMe(300)
exten => 300,4,Hangup()


meetme.conf

conf => 300, 1234


I found a problem with .Call files

if the last line does not contain a new line character "\n"
the call will happen 1 more than the mentioned maximum retry

Example:

Channel: SIP/xyz
MaxRetries: 1
RetryTime: 300
WaitTime: 60
Context: XYZ
Extension: 100
Priority: 1

if after the string Priority :1 if there is no “\n” at the end of the code the call will happen 3 times though MaxRetries are only 1

This happens because when the file is executed it writes in to the file as

Priority:1StartRetry : 2203 1 (99123245)

but it should right
Priority : 1
StartRetry :2203 1 (99123245)

what happens it is that the next time asterisk reads it it doies not recognize the first StartRetry

Is this a bug … ?

I found a problem with .Call files

if the last line does not contain a new line character "\n"
the call will happen 1 more than the mentioned maximum retry

Example:

Channel: SIP/xyz
MaxRetries: 1
RetryTime: 300
WaitTime: 60
Context: XYZ
Extension: 100
Priority: 1

if after the string Priority :1 if there is no “\n” at the end of the code the call will happen 3 times though MaxRetries are only 1

This happens because when the file is executed it writes in to the file as

Priority:1StartRetry : 2203 1 (99123245)

but it should right
Priority : 1
StartRetry :2203 1 (99123245)

what happens it is that the next time asterisk reads it it doies not recognize the first StartRetry

Is this a bug … ?

I found a problem with .Call files

if the last line does not contain a new line character "\n"
the call will happen 1 more than the mentioned maximum retry

Example:

Channel: SIP/xyz
MaxRetries: 1
RetryTime: 300
WaitTime: 60
Context: XYZ
Extension: 100
Priority: 1

if after the string Priority :1 if there is no “\n” at the end of the code the call will happen 3 times though MaxRetries are only 1

This happens because when the file is executed it writes in to the file as

Priority:1StartRetry : 2203 1 (99123245)

The next time it writes

Priority:1StartRetry : 2203 1 (99123245)
StartRetry : 2203 1 (99123345)

Even thought he call is in progress during the first time
I ws creating a file with out the “\n” in the last line hence there was 1 more retyr happening that required

but it should work like this
Priority : 1
StartRetry :2203 1 (99123245)

and once the call is established
Priority : 1
StartRetry :2203 1 (99123245)
DelayedRetry :2203 (23435845)

Is this a bug … ?