Jonas Kellens
2017-Apr-03 08:25 UTC
[asterisk-users] Define SIP fromuser field in Dial()-command
Hello how can I set the fromuser field of the SIP INVITE when using the Dial()-command in the dialplan ? None of the below Dial() command give the correct result : exten => _XX.,n,Dial(SIP/${EXTEN}:passwdk5j6::user762 at myprovider.biz) exten => _XX.,n,Dial(SIP/${EXTEN}:passwdk5j6::user762 at myprovider.biz/${EXTEN}) exten => _XX.,n,Dial(SIP/user762:passwdk5j6::user762 at myprovider.biz/${EXTEN}) exten => _XX.,n,Dial(SIP/user762:passwdk5j6 at myprovider.biz/${EXTEN}) The From part of the SIP INVITE always has the EXTEN in it in stead of the user (user762) : From: "the_extension" <sip:the_extension at my.ip.add.ress>;tag=as224453ac How can I get : From: "the_extension" <sip:user762 at my.ip.add.ress>;tag=as224453ac ?? I know about sip.conf. That is not the question. My question is clear : how to set this in dialplan ? Thank you for the feedback. Kind regards. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20170403/097f55ac/attachment.html>
Jonas Kellens
2017-Apr-05 08:11 UTC
[asterisk-users] Define SIP fromuser field in Dial()-command
Hello anyone have some useful input on this ? Thanks. On 03-04-17 10:25, Jonas Kellens wrote:> Hello > > how can I set the fromuser field of the SIP INVITE when using the > Dial()-command in the dialplan ? > > None of the below Dial() command give the correct result : > > exten => _XX.,n,Dial(SIP/${EXTEN}:passwdk5j6::user762 at myprovider.biz) > exten => > _XX.,n,Dial(SIP/${EXTEN}:passwdk5j6::user762 at myprovider.biz/${EXTEN}) > exten => > _XX.,n,Dial(SIP/user762:passwdk5j6::user762 at myprovider.biz/${EXTEN}) > exten => _XX.,n,Dial(SIP/user762:passwdk5j6 at myprovider.biz/${EXTEN}) > > The From part of the SIP INVITE always has the EXTEN in it in stead of > the user (user762) : > > From: "the_extension" <sip:the_extension at my.ip.add.ress>;tag=as224453ac > > How can I get : > > From: "the_extension" <sip:user762 at my.ip.add.ress>;tag=as224453ac > > ?? > > > > I know about sip.conf. That is not the question. My question is clear > : how to set this in dialplan ? > > > > Thank you for the feedback. > > > Kind regards. > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20170405/e7c52969/attachment.html>
Pete Mundy
2017-Apr-05 20:05 UTC
[asterisk-users] Define SIP fromuser field in Dial()-command
Hi Jonas Does the information at this link help? http://the-asterisk-book.com/1.6/funktionen-callerid.html Pete> On 5/04/2017, at 8:11 pm, Jonas Kellens <jonas.kellens at telenet.be> wrote: > > Hello > > anyone have some useful input on this ? > > > > Thanks. > > > On 03-04-17 10:25, Jonas Kellens wrote: >> Hello >> >> how can I set the fromuser field of the SIP INVITE when using the Dial()-command in the dialplan ?-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20170406/52f4213f/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 3577 bytes Desc: not available URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20170406/52f4213f/attachment.bin>
Jonas Kellens
2017-Apr-14 07:54 UTC
[asterisk-users] Define SIP fromuser field in Dial()-command
Hello any input on this ? How to set user-field in From-header with the Dial()-command in dialplan ? Kind regards J. On 03-04-17 10:25, Jonas Kellens wrote:> Hello > > how can I set the fromuser field of the SIP INVITE when using the > Dial()-command in the dialplan ? > > None of the below Dial() command give the correct result : > > exten => _XX.,n,Dial(SIP/${EXTEN}:passwdk5j6::user762 at myprovider.biz) > exten => > _XX.,n,Dial(SIP/${EXTEN}:passwdk5j6::user762 at myprovider.biz/${EXTEN}) > exten => > _XX.,n,Dial(SIP/user762:passwdk5j6::user762 at myprovider.biz/${EXTEN}) > exten => _XX.,n,Dial(SIP/user762:passwdk5j6 at myprovider.biz/${EXTEN}) > > The From part of the SIP INVITE always has the EXTEN in it in stead of > the user (user762) : > > From: "the_extension" <sip:the_extension at my.ip.add.ress>;tag=as224453ac > > How can I get : > > From: "the_extension" <sip:user762 at my.ip.add.ress>;tag=as224453ac > > ?? > > > > I know about sip.conf. That is not the question. My question is clear > : how to set this in dialplan ? > > > > Thank you for the feedback. > > > Kind regards. > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20170414/769835b3/attachment.html>