Dont know if its a bug…
If you answer a did and you dial another number with the dial command…
exten => s,4,Dial(Local/00${CALLERID(dnid)}@outbound-allroutes|120)
exten => s,5,Hangup
Calling from another switch it will be silent and will last 120 seconds If you call from an extension it will play a fake ring for 120 seconds. You call from a extension from a another pbx, calling trough a switch then to the freepbx you will hear a fake ring.
Now the problem…
exten => s,4,Dial(Local/00${CALLERID(dnid)}@outbound-allroutes|120|m(default))
exten => s,5,Hangup
You hear the asterisk default music, and when calling from another switch, it will hangup after 60 seconds. Because, it does not send any ALERT_INFO. Like 180 Ringing or 183 Progress.
But if you call from extension from the same freepbx it will work, but not coming in from another freepbx going trough a switch server.
Is there a workaroung to make it ring and play moh in the same time, that way it will get a 180 and you could hear the musiconhold?
Please let me know, if its possible.
Thanks