<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font face="Helvetica, Arial, sans-serif"> Hello<br>
<br>
<br>
this does not set user field in From-header.<br>
<br>
I get :<br>
<br>
From: "user762" <a class="moz-txt-link-rfc2396E" href="mailto:sip:9876543210@myprovider.biz"><sip:9876543210@myprovider.biz></a>;tag=as7f44c043<br>
<br>
What I want is :<br>
<br>
From: "9876543210" <a class="moz-txt-link-rfc2396E" href="mailto:sip:user762@myprovider.biz"><sip:user762@myprovider.biz></a>;tag=as7f44c043<br>
<br>
<br>
I need this part : <a class="moz-txt-link-rfc2396E" href="mailto:sip:user762@myprovider.biz"><sip:user762@myprovider.biz></a><br>
<br>
you see the user part ? I need to set the value 'user762'<br>
<br>
<br>
<br>
<br>
Kind regards<br>
<br>
J.<br>
<br>
</font><br>
<br>
<br>
<div class="moz-cite-prefix">On 14-04-17 10:46, registrator wrote:<br>
</div>
<blockquote cite="mid:58f08c7a.1f002e0a.e3d32.145b@mx.google.com"
type="cite">
<pre wrap="">Hello!
May be you help CALLERID(name) function?
exten => _X.,1,Set(CALLERID(name)=$name)
Then you well see INVITE
SIP : FROM "$name" .....
Sent from: Lenovo P70-A
On Apr 14, 2017 10:54 AM, Jonas Kellens <a class="moz-txt-link-rfc2396E" href="mailto:jonas.kellens@telenet.be"><jonas.kellens@telenet.be></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">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:
</pre>
<blockquote type="cite">
<pre wrap="">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/${<a class="moz-txt-link-abbreviated" href="mailto:EXTEN%7D:passwdk5j6::user762@myprovider.biz">EXTEN}:passwdk5j6::user762@myprovider.biz</a>)
exten => _XX.,n,Dial(SIP/${<a class="moz-txt-link-abbreviated" href="mailto:EXTEN%7D:passwdk5j6::user762@myprovider.biz/$">EXTEN}:passwdk5j6::user762@myprovider.biz/$</a>{EXTEN})
exten => _XX.,n,Dial(<a class="moz-txt-link-abbreviated" href="mailto:SIP/user762:passwdk5j6::user762@myprovider.biz/$">SIP/user762:passwdk5j6::user762@myprovider.biz/$</a>{EXTEN})
exten => _XX.,n,Dial(<a class="moz-txt-link-abbreviated" href="mailto:SIP/user762:passwdk5j6@myprovider.biz/$">SIP/user762:passwdk5j6@myprovider.biz/$</a>{EXTEN})
The From part of the SIP INVITE always has the EXTEN in it in stead of the user (user762) :
From: "the_extension" <a class="moz-txt-link-rfc2396E" href="mailto:sip:the_extension@my.ip.add.ress"><sip:the_extension@my.ip.add.ress></a>;tag=as224453ac
How can I get :
From: "the_extension" <a class="moz-txt-link-rfc2396E" href="mailto:sip:user762@my.ip.add.ress"><sip:user762@my.ip.add.ress></a>;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.
</pre>
</blockquote>
</blockquote>
</blockquote>
<br>
</body>
</html>