I have a problem with two GSM trunks to bridge a call. I currently have two GoIP boxes connected to my server. When a call is placed on GoiP A, a number is dialed to GoiP B in order to forward it to a specific mobile number. The call happens and the other mobile number rings. The problem is, when the number being called to answers, GoIP A hangs up the call. Is there any config that I’m missing?
[2012-08-31 15:42:17] VERBOSE[8103] netsock2.c: == Using SIP RTP TOS bits 184
[2012-08-31 15:42:17] VERBOSE[8103] netsock2.c: == Using SIP RTP CoS mark 5
[2012-08-31 15:42:17] VERBOSE[8103] app_dial.c: – Called SIP/gsm2/0445369851
[2012-08-31 15:42:17] VERBOSE[8103] app_dial.c: – SIP/gsm2-00000014 is making progress passing it to SIP/gsm1-00000013
[2012-08-31 15:42:17] VERBOSE[8103] app_dial.c: – SIP/gsm2-00000014 is making progress passing it to SIP/gsm1-00000013
[2012-08-31 15:42:29] VERBOSE[8103] app_dial.c: – SIP/gsm2-00000014 answered SIP/gsm1-00000013
[2012-08-31 15:42:35] VERBOSE[8103] pbx.c: – Executing [h@macro-dial-one:1] Macro(“SIP/gsm1-00000013”, “hangupcall,”) in new stack
[2012-08-31 15:42:35] VERBOSE[8103] pbx.c: – Executing [s@macro-hangupcall:1] GotoIf(“SIP/gsm1-00000013”, “1?theend”) in new stack
[2012-08-31 15:42:35] VERBOSE[8103] pbx.c: – Goto (macro-hangupcall,s,3)
[2012-08-31 15:42:35] VERBOSE[8103] pbx.c: – Executing [s@macro-hangupcall:3] ExecIf(“SIP/gsm1-00000013”, “0?Set(CDR(recordingfile)=)”) in new stack
[2012-08-31 15:42:35] VERBOSE[8103] pbx.c: – Executing [s@macro-hangupcall:4] Hangup(“SIP/gsm1-00000013”, “”) in new stack
[2012-08-31 15:42:35] VERBOSE[8103] app_macro.c: == Spawn extension (macro-hangupcall, s, 4) exited non-zero on ‘SIP/gsm1-00000013’ in macro ‘hangupcall’
[2012-08-31 15:42:35] VERBOSE[8103] features.c: == Spawn extension (macro-dial-one, h, 1) exited non-zero on ‘SIP/gsm1-00000013’
[2012-08-31 15:42:35] VERBOSE[8103] app_macro.c: == Spawn extension (macro-dial-one, s, 42) exited non-zero on ‘SIP/gsm1-00000013’ in macro ‘dial-one’
Above logs shows that somehow the calls are being relayed.
Just found out that it takes 4 rings to pass the call in between the 2 GoIP modems and the network allows around 8 rings only, on my test this only gives the target mobile 2 vibrates and it disconnects the call, otherwise the call will proceed if answered right away. Any body knows how to lessen the delay for diverts inside GoiP?
Can’t see any setting on this device to reduce the delays passing the calls from one area to another. The best way I found was to place an IVR in between that answers the call thus preventing the ring timeout from the line and giving the caller more options.