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

How to remove <exten> tag from Callerid field when originating a call ?


  • From: "Safet Susic" <panoramisk@xxxxxxxxx>
  • Date: Fri, 8 Aug 2008 16:00:11 +0200
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=msWuLfRVWLpZaXjhLSizxbv05jjo+IUlRsgPa76AOg4=; b=ZA2OBx7zXRdw2cN3N64T9I0pOjD0jBii4Jv/V4y6wUOaVa7Qao8Rqgk4SOeYF9yC1m 9P0laBJmJMyV+zYpTjoUfGpvFdqhYKj3T3yyJM+guyDj+ag/zhFNKcdUMcwZ1EV9ej6S Bl3a+m4D1K+tJgtVo1c1vc92mrAGHVnYw56hI=
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=mDHqAj0fU41fqMTWwEJGuwCW+59htRjcm/2WyolnP5R3HWEJzPI5FyXBBkxLMYFPjr AqJKxyGApSsbvFcXD124FNalLDEalkWROxBb1/VYV+w3H99OhKZGW+IbHddaxGd2C330 m4KLO16QavKdipYV4Jh1g1/89suU7JpX/YBo8=
  • Mailing-list: contact operator_panel-help@lists.house.com.ar; run by ezmlm

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

Follow-Ups from:
Nicolas

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