[Gelöst] .call file works on extension but not on external phone

wassenho

Neuer User
Mitglied seit
29 Mai 2015
Beiträge
2
Punkte für Reaktionen
0
Punkte
0
Hi there,

1. What I got working
I have a Grandstream HT-503 connected to my land line. This device is defined as a trunk in freePBX running on a raspberry. I also defined an outgoing route. I have a Zoiper softphone defined as extension. I can make external calls from this softphone. All works fine. Incomming as well as outgoing calls from and to external and within different extensions.

2. What does not work
I created a call file on the raspberry / freePBX, touched it 60 sec into the future and moved it into the outgoing folder. Content is:

File "test.call" owner asterisk:
Channel: SIP/mytrunk/01710000001
WaitTime: 30
Priority: 1
Context: mycontext
Extension: 90

After move of the file, all seems to work.
The logfile grows 60 seconds afterwards:
- I find the lines of "mycontext" in the dialplan on 90
- all commands appear (answer, wait, playback, hangup).
- all seems OK: Call completed to SIP/Truck/01710000001
- Nothing that looks like an error but no call arrives.

The same with internal extension works – softphone rings.
Only external call is not made.

Could anybody give me a hint where to search for the problem ?

Thank’s in advance,
Horst
 
Zuletzt bearbeitet:
If the dialplan is executed, the outbound call seems to be established, that meens Asterisk recognizes it as answered anyhow, maybe you get an error announcement from the provider eg. due to wrong formatted or invalid target number.

Do regular outbound calls work when dialed by a phone? If so please post the CLI output (asterisk -rvvv) of such.
 
Dear all,

I changed "Content: from-internal" and the call was made. So I will screen this dialplan and it should be easy to find what was missing or wrong in my dialplan. Most obscure is the lack of any error message. I have no intension to dig deeper into this.

Take-aways:
1. Test with "from-internal" before you test you own dialplan.
2. Be aware that things can go wrong without error messages.

Regards,
Horst
 
Kostenlos!

Statistik des Forums

Themen
249,052
Beiträge
2,309,534
Mitglieder
378,850
Neuestes Mitglied
IchBinEsDoch