[Home]

Summary:ASTERISK-07461: using sendtext across 2 machines
Reporter:geisj (geisj)Labels:
Date Opened:2006-08-04 08:26:07Date Closed:2011-06-07 14:08:21
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Applications/app_sendtext
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:using a call file and sendtext() on 1 machine works great for me.

however, using a call file and sendtext() to another machine will
always result in the call being answered after X rings even though I dont
answer the call.

I tried this with an IAX2 connect and a SIP connection between my
two boxes. does the same in both cases. after 5 or X rings the connection
thinks the call was answered and the sendtext() page delivered and it was not
because I did not answer the call.

****** ADDITIONAL INFORMATION ******

   -- Attempting call on IAX2/boxa_to_server/593 for
smvoice_sendtext at smvoice-dialout:1 (Retry 1)
   -- Call accepted by XX.XX.XX.XX (format alaw)
   -- Format for call is alaw
      > Channel IAX2/boxa_to_server-1 was answered.
   -- Executing SendText("IAX2/boxa_to_server-1", ""4 t1"") in new stack
   -- Executing AGI("IAX2/boxa_to_server-1", "smvoice|-digium_success")
in new stack
   -- Launched AGI Script /var/lib/asterisk/agi-bin/smvoice
   -- AGI Script smvoice completed, returning 0
   -- Executing Hangup("IAX2/boxa_to_server-1", "") in new stack
 == Spawn extension (smvoice-dialout, smvoice_sendtext, 3) exited
non-zero on 'IAX2/boxa_to_server-1'
   -- Hungup 'IAX2/boxa_to_server-1'


my call file looks like:

Channel: SIP/boxa_to_server/593
Context: smvoice-dialout
Extension: smvoice_sendtext
Priority: 1
RetryTime: 2
WaitTime: 20
MaxRetries: 0
CallerID: t1 < 555 >
Setvar: SMVOICE_SENDTEXT=5 t1
Setvar: agi_dwc_record_num=4
Comments:By: Joshua C. Colp (jcolp) 2006-08-04 10:52:14

We need all console output from every box involved and an iax2 debug. Attach them as separate files.

By: Russell Bryant (russell) 2006-08-05 00:35:08

Also, can we see the extension you are using to handle the incoming call on the remote machine?

By: geisj (geisj) 2006-08-07 07:50:06

Looks to me after closer inspection of the second machine
the call is being answered and going to voicemail.

The dialplans were different on the 2 machines - the first not
having voicemail on the phone.

Please close this as I dont think this is a bug any longer.

Jerry