Transfer call from DAHDI
-
Hello, please helpe to resolve problem.
I have Asterisk 1.6 with FreePBX
When i get call from DAHDI on some sip extension and whe i trying to transfer this call to another sip extension via FOP2 call just hang up
please help me resolve this problem.
Log below-- Called 401
-- SIP/401-000081b7 is ringing
-- SIP/401-000081b7 answered DAHDI/18-1
== Spawn extension (from-internal, 442, 1) exited non-zero on 'DAHDI/18-1' in macro 'dial-one'
== Spawn extension (from-internal, 442, 1) exited non-zero on 'DAHDI/18-1' in macro 'exten-vm'
== Spawn extension (from-internal, 442, 1) exited non-zero on 'DAHDI/18-1'
-- Executing [h@from-internal:1] Macro("DAHDI/18-1", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("DAHDI/18-1", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,4)
-- Executing [s@macro-hangupcall:4] GotoIf("DAHDI/18-1", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,7)
-- Executing [s@macro-hangupcall:7] GotoIf("DAHDI/18-1", "1?theend") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] Hangup("DAHDI/18-1", "") in new stack
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'DAHDI/18-1' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'DAHDI/18-1'
-- Hungup 'DAHDI/18-1' -
Asterisk logs will not help at all.
Did you configure buttons by hand, or you use autoconfiguration for freepbx?
If configured by hand, how does your buttons.cfg file looks like?
Did you try transferring sip to sip ? Are you positive the problem is because of DAHDI? Or just a guess?
-
Buttons configured by hands
example below:
[SIP/575]
type=extension
extension=575
context=from-internal
label=575
mailbox=575@default
extenvoicemail=*575@from-internalSorry was wrong, i can't forward calls not just from DAHDI, actually i can't foward all incoming calls. If i dial any number forward works.
-
The most probable cause is that your dialplan does not use a context named "from-internal".
The context setting must be the dialplan context where you can reach an extension, I do not know your dialplan so I cannot say, perhaps you use the "default" context for your extensions? Whatever you use, you must use that context in the button configuration file.
Best regards,
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login