Greetings to all
I am configuring an Asterisk 18 and when there is an incoming call it goes to 4 softphones at the same time.
After answering and ending the call the dialplan goes to the h extension where it declares the cdr userfield variable.
When I check the saved data in the database, I see that the userfield is saved for the cdr of the last softphone called. For example if I use the Dial in the following way:
Dial(“IAX2/3001&IAX2/3002&IAX2/3003&IAX2/3004,120,Ttr”)
And in the h extension:
Set(CDR(userfield)=test)
The userfield is saved for extension 3004 regardless of whether any of the other extensions have answered
Why do this happen? Can I modify it somehow?
Thank you so much.