Question

I use Asterisk 11 and try to change ringing timeout in MySQL realtime extention. It takes only 7~10 seconds to hangup automatically. I checked extension and it was like this.

here is a screeshot of extension table in asteriskrealtime mysql database.

enter image description here

SIP/5162860921,60

I changed this one to

SIP/5162860921,300

However, there was no change. How can I extend ringing timeout to 60 seconds?

extensions.conf (I use realtime database)

 [general]
 [globals]
 ;
 [from-sip]
 switch =>Realtime

CLI log

== Using SIP RTP CoS mark 5
    -- Executing [2000@from-sip:1] Dial("SIP/1000-00000000", "SIP/2000,30")
  == Using SIP RTP CoS mark 5
    -- Called SIP/2000
    -- SIP/2000-00000001 is ringing
    -- Got SIP response 486 "Busy here" back from 14.63.12.134:5060
    -- SIP/2000-00000001 is busy
  == Everyone is busy/congested at this time (1:1/0/0)
    -- Executing [2000@from-sip:2] Answer("SIP/1000-00000000", "2000@from-sip")
       > 0x7fe6fc01bc00 -- Probation passed - setting RTP source address to 223.62.180.115:47204
    -- Executing [2000@from-sip:3] hangup("SIP/1000-00000000", "")
  == Spawn extension (from-sip, 2000, 3) exited non-zero on 'SIP/1000-00000000'
Was it helpful?

Solution

It was softphone application problem. I changed it to 60 seconds and it is working fine now.. SIP/1000,60 was right.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top