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/gsm1And it work.
But - when i make calls through, it stand green until callee pick the call.


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 processedChannel 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 processedSo, 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? -
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,
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