No subject


Fri Sep 2 03:59:05 CDT 2011


{noformat}
[Feb 23 02:29:02] VERBOSE[13700][C-00000015] pbx.c:     -- Executing [s at inmobilesms:2] Set("Message/ast_msg_queue", "ACTUALFROM="10658487" <sip:10658487") in new stack
[Feb 23 02:29:02] DEBUG[13700][C-00000015] pbx.c: Evaluating 'ACTUALFROM' (from 'ACTUALFROM}' len 10)
[Feb 23 02:29:02] DEBUG[13700][C-00000015] pbx.c: Result of 'ACTUALFROM' is '"10658487" <sip:10658487'
[Feb 23 02:29:02] DEBUG[13700][C-00000015] pbx.c: Function result is '10658487'
[Feb 23 02:29:02] DEBUG[13700][C-00000015] pbx.c: Launching 'Set'
[Feb 23 02:29:02] VERBOSE[13700][C-00000015] pbx.c:     -- Executing [s at inmobilesms:3] Set("Message/ast_msg_queue", "ACTUALFROM=10658487") in new stack
[Feb 23 02:29:02] DEBUG[13700][C-00000015] pbx.c: Result of 'ACTUALFROM' is '10658487'
[Feb 23 02:29:02] DEBUG[13700][C-00000015] pbx.c: Result of 'ACTUALFROM' is '10658487'
[Feb 23 02:29:02] DEBUG[13700][C-00000015] pbx.c: Launching 'MessageSend'
[Feb 23 02:29:02] VERBOSE[13700][C-00000015] pbx.c:     -- Executing [s at inmobilesms:4] MessageSend("Message/ast_msg_queue", "SIP:2204, "10658487" <10658487>") in new stack
[Feb 23 02:29:02] DEBUG[13700][C-00000015] chan_sip.c: Allocating new SIP dialog for 0fbab17f578da9ee682c647a5757b32e@(null) - MESSAGE (No RTP)
{noformat}

Looks to me like this part of your dialplan is not working properly:

{noformat}
[inmobilesms]
exten => s,1,NoOp(Incoming SMS from ${MESSAGE(from)} : ${MESSAGE(body)})
exten => s,n,Set(ACTUALFROM=${CUT(MESSAGE(from),@,1)})
exten => s,n,Set(ACTUALFROM=${CUT(ACTUALFROM,:,2)})
exten => s,n,MessageSend(SIP:2204, "${ACTUALFROM}" <${ACTUALFROM}>)
exten => s,n,Hangup()
{noformat}

ACTUALFROM does not have a proper host address and therefore the host address is set to (null) which is correct since there is no host address that could be set.

Also, the "to" parameter in MessageSend is not a proper uri.
                
      was (Author: elguero):
    It looks to me like you have a configuration problem.



More information about the asterisk-bugs mailing list