Caller ID & agent API, unable to hangup
![Post Post](./styles/vicidial/imageset/icon_post_target.gif)
Vicidial version:
VERSION: 2.14-650a
BUILD: 180111-1544
Server: UCS C200 M2 (testing only)
Service Type: SIP
Location: Canada
I have purchased the manual(s).
Hi all.
I'm having a bit of an issue and hoping for some pointers. The setup we have requires two things, 1 -- we must output a caller id name, 2 -- we conduct all phone use through the agent/non-agent API's.
This works for the most part, we can make calls, monitor, record, etc. However, we usually (~90% of the time) cannot hang up calls. This reaches 100% if the length of the call is > 1 minute. I don't get any errors or any thing -- here is an example of the HTTP request prior to hangup:
INCALL,M9261428400000000236,236,186703,21,[Agent Name],AGENTS,1,LOGIN,,[phone number],,8600051
This is the request to hangup:
POST http://[Server IP]/agc/api.php?source=test&user=[USER]&pass=[Pass]&agent_user=[agent user]&function=external_pause&value=PAUSE HTTP/1.1
SUCCESS: external_pause function set - PAUSE|1537990297|[agent user]
However, the call does not actually hang up, and nothing is logged to the asterisk-r screen.
-------------------------------------------------
What appears to cause the issue is adding this line to the Carrier dial plan entry:
exten =>_9NXXNXXXXXX,2,Set(CALLERID(all)="[name to show]" <[outpulse number]>)
This works, in that the correct name and number show for those who receive the call, but also seems to inhibit the ability to hangup calls. My assumption was that the string normally shown in the name field (M9261428400000000236) is required to identify the call. Is this correct?
Is there another method to display both a name and number?
Appreciate the time.
VERSION: 2.14-650a
BUILD: 180111-1544
Server: UCS C200 M2 (testing only)
Service Type: SIP
Location: Canada
I have purchased the manual(s).
Hi all.
I'm having a bit of an issue and hoping for some pointers. The setup we have requires two things, 1 -- we must output a caller id name, 2 -- we conduct all phone use through the agent/non-agent API's.
This works for the most part, we can make calls, monitor, record, etc. However, we usually (~90% of the time) cannot hang up calls. This reaches 100% if the length of the call is > 1 minute. I don't get any errors or any thing -- here is an example of the HTTP request prior to hangup:
INCALL,M9261428400000000236,236,186703,21,[Agent Name],AGENTS,1,LOGIN,,[phone number],,8600051
This is the request to hangup:
POST http://[Server IP]/agc/api.php?source=test&user=[USER]&pass=[Pass]&agent_user=[agent user]&function=external_pause&value=PAUSE HTTP/1.1
SUCCESS: external_pause function set - PAUSE|1537990297|[agent user]
However, the call does not actually hang up, and nothing is logged to the asterisk-r screen.
-------------------------------------------------
What appears to cause the issue is adding this line to the Carrier dial plan entry:
exten =>_9NXXNXXXXXX,2,Set(CALLERID(all)="[name to show]" <[outpulse number]>)
This works, in that the correct name and number show for those who receive the call, but also seems to inhibit the ability to hangup calls. My assumption was that the string normally shown in the name field (M9261428400000000236) is required to identify the call. Is this correct?
Is there another method to display both a name and number?
Appreciate the time.