Originate and transfer from trunk buttons fails
- From: Víctor Fernández <victor.fernandez@xxxxxxxxxxxx>
- Date: Tue, 23 Dec 2008 19:51:07 +0100
- Mailing-list: contact operator_panel-help@lists.house.com.ar; run by ezmlm
Hi! I'm using FOP 0.29. I have a channel with 3 trunk buttons. Whenever I try
to originate or transfer a call from that channel it fails. Earlier I had
only one button for that channel and it was working properly but since I
turned it into a trunk button it's failing.
I have seen using the debug log that FOP is using an Action: Originate like
this:
192.168.123.40 -> Action: Originate
192.168.123.40 -> Channel: SIP/500=1
192.168.123.40 -> Async: True
192.168.123.40 -> Callerid: "500 John Doe" 1 <>
192.168.123.40 -> Exten: 510
192.168.123.40 -> Context: default
192.168.123.40 -> Priority: 1
Channel: SIP/500=1 ? The right channel name is SIP/500. But in op_buttons.cfg
I have:
[SIP/500]
Position=1-3
Label="500 John Doe"
Extension=500
Context=numberplan-custom-2
Mailbox=500@xxxxxxx
Icon=1
Server=1
Where does the "=1" come from? I think this is a FOP bug. Tweaking
op_server.pl I added this at line #7369:
($origin_channel) = split( /=/, $origin_channel);
And the Originate is working properly now. However, I don't know if this is
the right way to fix it since I don't know Perl.
- Follow-Ups from:
- Nicolas
|