Trunk button wrong marking

In our company we use SIP trunk with 1 line to make calls to mobile phones. It work through gsm gateway with 1 SIM card.
I made button like this:
[SIP/gsm1]
type=trunk
label=GSM
channel=SIP/gsm1
And it work.
But - when i make calls through, it stand green until callee pick the call.
2qs89eg.jpg

4v4vmp.jpg
But line is busy in both case!

In asterisk 'core show channels' that situation looks like this:
Channel              Location             State   Application(Data)
SIP/gsm1-00000629    8903******0@office:1 Down    AppDial((Outgoing Line))
SIP/1102-00000628    s@macro-recout:7     Ring    Dial(SIP/8903******0@gsm1,,T)
2 active channels
1 active call
454 calls processed
Channel              Location             State   Application(Data)
SIP/gsm1-00000629    (None)               Up      AppDial((Outgoing Line))
SIP/1102-00000628    s@macro-recout:7     Up      Dial(SIP/8903******0@gsm1,,T)
2 active channels
1 active call
454 calls processed

So, as i understnad right - in asterisk my trunk channel stay in Down state, than, when callee pick up call, in Up state.
Is it bug in FOP2 or mistake in my config? What can i do to mark such calls right?

Comments

  • Down state won't make a button in FOP2 be marked as busy. FOP2 is doing the right thing. Does that not mean that there is a bug/problem either on your setup, sometimes there is a brief moment of a channel being in down state before the call is set up, it seems in your case is taking a little to long to be marked as such. In general, what I tell to users is that trunk buttons will show active/bridged channels/calls on them only. If you can make Asterisk signal the channel as up, it will show as you expect.

    Best regards,
Sign In or Register to comment.