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::user...@myprovider.biz)
exten => _XX.,n,Dial(SIP/${EXTEN}:passwdk5j6::user...@myprovider.biz/${EXTEN}) exten => _XX.,n,Dial(SIP/user762:passwdk5j6::user...@myprovider.biz/${EXTEN})
exten => _XX.,n,Dial(SIP/user762:passwdk...@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_extens...@my.ip.add.ress>;tag=as224453ac

How can I get :

From: "the_extension" <sip:user...@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.
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
      https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to