<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
I have a DID provider with multiple incoming numbers. I can send
outgoing calls on particular DID numbers by sending a SIP request
with the From header formatted as<br>
<br>
From: dddddddddd <a class="moz-txt-link-rfc2396E" href="mailto:sip:dddddddd@sip.provider.com"><sip:dddddddd@sip.provider.com></a>;tag=yyy<br>
<br>
Where the From name is the DID in full national number form (10
digit) and the From user is the 8 digit account number. Each unique
DID has a matching unique account number.<br>
<br>
I have internal extensions mapped to different DID numbers.<br>
<br>
I need a mechanism to feed different DID number and account number
pairs to the gateway for each outgoing call. I hope to do that via
the internal extension xml files e.g. <br>
<br>
<tt><include></tt><tt><br>
</tt><tt> <user id="200"></tt><tt><br>
</tt><tt> <params></tt><tt><br>
</tt><tt> <param name="password" value="xxxxxx"/></tt><tt><br>
</tt><tt> <param name="vm-password" value="200"/></tt><tt><br>
</tt><tt> </params></tt><tt><br>
</tt><tt> <variables></tt><tt><br>
</tt><tt> <variable name="toll_allow"
value="domestic,international,local"/></tt><tt><br>
</tt><tt> <variable name="accountcode" value="200"/></tt><tt><br>
</tt><tt> <variable name="user_context" value="default"/></tt><tt><br>
</tt><tt> <variable name="effective_caller_id_name"
value="Michael J Fox"/></tt><tt><br>
</tt><tt> <variable name="effective_caller_id_number"
value="200"/></tt><tt><br>
</tt><tt> <variable name="outbound_caller_id_name"
value="0000000001"/></tt><tt><br>
</tt><tt> <variable name="outbound_caller_id_number" value="</tt><tt><tt>0000000001</tt>"/></tt><tt><br>
</tt><tt> <font color="#ff0000"><variable
name="outbound_caller_from_user" value="01234567"/></font></tt><tt><br>
</tt><tt> <variable name="callgroup"
value="techsupport"/></tt><tt><br>
</tt><tt> </variables></tt><tt><br>
</tt><tt> </user></tt><tt><br>
</tt><tt></include></tt><br>
<br>
The question is how to pass the new variable <tt><font
color="#ff0000">outbound_caller_from_user </font></tt>to the
gateway and get it substituted in the user field of the SIP From
header?<br>
<br>
I have a secondary issue in that I can set the outbound DID part of
the From Header but it has quotes around it<br>
<br>
From: "dddddddddd" <a class="moz-txt-link-rfc2396E" href="mailto:sip:dddddddd@sip.provider.com"><sip:dddddddd@sip.provider.com></a>;tag=yyy<br>
<br>
Which is undesirable and it would be helpful to suppress that in
Freeswitch itself.<br>
<br>
Thanks,<br>
<br>
<br>
</body>
</html>