[Date Prev][Date Next][Thread Prev] [Thread Next][Date Index] [Thread Index]

Re: [Flash Operator Panel] How to remove <exten> tag from Callerid field when originating a call ?


  • From: Nicolas <nicolas@xxxxxxxxxxxx>
  • Date: Fri, 08 Aug 2008 15:58:19 -0300
  • Mailing-list: contact operator_panel-help@lists.house.com.ar; run by ezmlm

A really small change in op_server.pl... look at line 8116 in op_server.pl from version 0.29

$clid = $textos{"$datosflash"} . " <$dclid>";

you can change it to:

$clid = $textos{"$datosflash"};

or just leave it empty... whatever you want.

Best regards,




Line: Safet Susic wrote:
Hello,

I'm using FOP 0.29 with Asterisk 1.4.19.1.

Whenever I'm dragging an extension icon into another to originate a new
call, I can see AMI commands sent by FOP to Asterisk :

Action: Originate
Channel: SIP/9122
Async: True
Callerid: 9122 Guest2 <9122>
Exten: 9123
Context: local
Priority: 1

Button's definition (from op_buttons.cfg) is :
[SIP/9122]
Position=18
Label=9122 Guest2
Extension=9122
Context=local
Icon=1


Here is my problem : with some SIP hardphone, I can see that "Callerid: 9122 Guest2 <9122>" in AMI request generate a SIP 480 Temporarily unavailable message from caller's hardphone.


So I tried various AMI combinations. It worked ok when I removed the <9122> tag at the end of Callerid field.

Action: Originate
Channel: SIP/9122
Async: True
Callerid: 9122 Guest2 <9122>
Exten: 9123
Context: local
Priority: 1


It also worked when I inserted another tag before <9122> tag:

Action: Originate
Channel: SIP/9122
Async: True
Callerid: 9122 Guest2 <foo> <9122>
Exten: 9123
Context: local
Priority: 1


I could find a way to have this "<foo> <9122>" double tag written but I couldn't find any way to remove <9122> from Callerid field. To insert a new <foo> before automatically inserted <9122> tag, I just wrote it at the end op_buttons.cfg's Label field, such as here :

[SIP/9122]
Position=18
Label=9122 Guest2 <foo>
Extension=9122
Context=local
Icon=1


It would be OK for me but the trouble is this fake <foo> tag would be displayed along he rest of Label string.


So my question is how can I set FOP to either : 1. keep FOP from adding <exten> at the end of Callerid field (like "Callerid: foo <exten>") 2. or teach FOP to display "9122 Guest2" when "9122 Guest2 <foo>" is written in Label field in op_buttons.cfg

Best regards



References to:
Safet Susic

[Date Prev][Date Next][Thread Prev] [Thread Next][Date Index] [Thread Index]