Replies: 5 comments 11 replies
-
Not sure if its related, but I having a similar situation handling outbound international call, delays more to connect than local ones... [Mar 6 12:22:25] DEBUG[26312]: at_read.c:80 at_read: [quectel0] receive 46 byte, used 46, free 2002, read 0, write 46 OK OK That was the last log before module halted and I had to restart asterisk. |
Beta Was this translation helpful? Give feedback.
-
I managed to fix the hang on BUSY by simulating call end like @IchthysMaranatha added for NO_CARRIER. and it no longer crashes. @IchthysMaranatha I dunno if you want to cherry pick it and add it to your master or add a better fix (I'm sure there is one!) https://github.com/mpmc/asterisk-chan-quectel/commits/master |
Beta Was this translation helpful? Give feedback.
-
I did not understand the scenario. Do you get BUSY message on minicom? If I get a call that is cut by sender I get a 'missed_call' message for which I've added call handling. If I dial a call that is rejected it ends in 'no carrier' for which also I've added call handling. I do not ever receive a busy message. |
Beta Was this translation helpful? Give feedback.
-
When checking the latest diffs I'm wondering if it was intentional to remove the line: "at_response_busy(pvt, AST_CONTROL_BUSY);" for all devices?
|
Beta Was this translation helpful? Give feedback.
-
Yes, the change was deliberate as I thought that quectel will have dsci urc for both call initiation and termination, whereas Huawei may not have a cend when busy. Again this is just my assumption as I do not receive the 'busy' urc to test it out myself. Do you get the busy urc on a quectel? If you do not face issues with the way it was earlier, I'll roll back the change for quectel. I'm also thinking about changing call termination method for simcom, if someone is willing to run some tests with minicom, please update in this thread. |
Beta Was this translation helpful? Give feedback.
-
Interesting one. If a call comes in as "BUSY" A.K.A REJECTED, the module will hang asterisk & it'll need to be force killed. Going from the asterisk logs it appears to try and answer the call anyway.
I suspect I must be missing something in the incoming context?
Beta Was this translation helpful? Give feedback.
All reactions