Summary:ASTERISK-19058: Messagesend and SIPFROMUSER
Reporter:benasse (benasse)Labels:
Date Opened:2011-12-16 13:49:08.000-0600Date Closed:2012-01-23 16:22:00.000-0600
Status:Closed/CompleteComponents:Channels/chan_sip/General Channels/chan_sip/Messaging
Versions:Frequency of
is related toASTERISK-18992 Asterisk From and To fields setup for SIP out of dialog MESSAGE method
is related toASTERISK-19056 Incorrect description for MESSAGE_SEND_STATUS variable in main.message.c
Environment:Debian SqueezeAttachments:
Description:I have try the fonction Messagesend, this is my extension.conf :

exten => s,1,NoOp(blah!)
exten => s,n,NoOp(${MESSAGE(from)})
exten => s,n,NoOp(${MESSAGE(to)})
exten => s,n,NoOp(${MESSAGE(body)})
exten => s,n,Set(SIPFROMUSER=${MESSAGE(from):4:-13})
exten => s,n,MessageSend(${MESSAGE(to):0:-13},${SIPFROMUSER})

Is there a reason why i have to inform manual the SIPFROMUSER to make the conversation work or is it a bug ?

And this exemple will be put in the samples ?
Comments:By: Leif Madsen (lmadsen) 2011-12-19 14:05:17.182-0600

I don't understand what your issue is. Are you saying the 'from' field isn't being populated? Please provided more information about what the problem is so this can be moved forward.

Please also provide console output including SIP debug information, and elaborate on what is wrong, and what you were expecting.

By: benasse (benasse) 2012-01-11 12:54:08.297-0600

the sip debug information is coming soon but i have not the server and the time now

I think we are talking about the same thing here :

By: Matt Jordan (mjordan) 2012-01-23 16:22:00.248-0600

I'm closing this as a duplicate of ASTERISK-18992.  If Richard's patch does not resolve the issue, please feel free to open a new one or request that this be reopened in #asterisk-bugs