[Asterisk-Users] Calls made through Manager API get same channel and "Unique" ID

Darren Ellis darren at ieworks.net
Tue Apr 11 12:55:48 MST 2006


Hi List,

I'm writing a system that issues a lot of automated calls, in an opt-in 
basis.  I've found that even though the calls are to different 
destinations, if they are issued within the same second, they get the 
same channel AND the same unique id. 

Is there a way to prevent this? 

Currently my dialer simply issues the call, logs it's state and then 
terminates.   I batch issue as many of them as I need to, and the dialer 
manages limiting concurrent calls. 

This is an excerpt from my syslog that shows what's happening.  The 
phone numbers have been changed to protect the developers.

Thanks much.

Darren Ellis


Apr 11 15:45:13 vongate PALSDIAL[22783]: Post-call CCC at 2
Apr 11 15:45:27 vongate PALSDIAL[22785]: Call to 
IAX2/####@voxee/1aaannn4201 queued successfully.
Apr 11 15:45:27 vongate PALSDIAL[22785]: My channel to 
IAX2/####@voxee/1aaannn4201 is IAX2/voxee-1.
Apr 11 15:45:27 vongate PALSDIAL[22790]: Call to 
IAX2/####@voxee/1aaannn8000 queued successfully.
Apr 11 15:45:27 vongate PALSDIAL[22790]: My channel to 
IAX2/####@voxee/1aaannn8000 is IAX2/voxee-1.
Apr 11 15:45:48 vongate PALSDIAL[22785]: Call on IAX2/voxee-1 got NO 
ANSWER.  Sleeping 15 secs before retry.
Apr 11 15:45:48 vongate PALSDIAL[22790]: Call on IAX2/voxee-1 got NO 
ANSWER.  Sleeping 15 secs before retry.
Apr 11 15:46:04 vongate PALSDIAL[22790]: Call to 
IAX2/####@voxee/1aaannn8000 queued successfully.
Apr 11 15:46:04 vongate PALSDIAL[22790]: My channel to 
IAX2/####@voxee/1aaannn8000 is IAX2/voxee-20.
Apr 11 15:46:04 vongate PALSDIAL[22785]: Call to 
IAX2/####@voxee/1aaannn4201 queued successfully.
Apr 11 15:46:04 vongate PALSDIAL[22785]: My channel to 
IAX2/####@voxee/1aaannn4201 is IAX2/voxee-20.
Apr 11 15:46:24 vongate PALSDIAL[22790]: Call on IAX2/voxee-20 got NO 
ANSWER.  Sleeping 15 secs before retry.
Apr 11 15:46:24 vongate PALSDIAL[22785]: Call on IAX2/voxee-20 got NO 
ANSWER.  Sleeping 15 secs before retry.
Apr 11 15:46:40 vongate PALSDIAL[22785]: Call to 
IAX2/####@voxee/1aaannn4201 queued successfully.
Apr 11 15:46:40 vongate PALSDIAL[22785]: My channel to 
IAX2/####@voxee/1aaannn4201 is IAX2/voxee-6.
Apr 11 15:46:40 vongate PALSDIAL[22790]: Call to 
IAX2/####@voxee/1aaannn8000 queued successfully.
Apr 11 15:46:40 vongate PALSDIAL[22790]: My channel to 
IAX2/####@voxee/1aaannn8000 is IAX2/voxee-6.
Apr 11 15:47:00 vongate PALSDIAL[22785]: Call to 
IAX2/####@voxee/1aaannn4201, unique ID 1144784800.3447, channel 
IAX2/voxee-6  did not answer after 3.
Apr 11 15:47:00 vongate PALSDIAL[22790]: Call to 
IAX2/####@voxee/1aaannn8000, unique ID 1144784800.3447, channel 
IAX2/voxee-6  did not answer after 3.
Apr 11 15:47:01 vongate PALSDIAL[22785]: Call to 
IAX2/####@voxee/1aaannn4201, unique ID 1144784800.3447 on channel 
IAX2/voxee-6 was not answered.
Apr 11 15:47:01 vongate PALSDIAL[22785]: Post-call CCC at 1
Apr 11 15:47:01 vongate PALSDIAL[22790]: Call to 
IAX2/####@voxee/1aaannn8000, unique ID 1144784800.3447 on channel 
IAX2/voxee-6 was not answered.
Apr 11 15:47:01 vongate PALSDIAL[22790]: Post-call CCC at 0




More information about the asterisk-users mailing list