<html>
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 10 (filtered)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p
        {margin-right:0in;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle17
        {font-family:Arial;
        color:windowtext;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Verdana><span style='font-size:
10.0pt;font-family:Verdana;color:navy'>I am posting this in case someone need
help….</span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Verdana><span style='font-size:
10.0pt;font-family:Verdana;color:navy'> </span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Verdana><span style='font-size:
10.0pt;font-family:Verdana;color:navy'>=========================================================</span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Verdana><span style='font-size:
10.0pt;font-family:Verdana;color:navy'>YOU THA
MAN!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!</span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Verdana><span style='font-size:
10.0pt;font-family:Verdana;color:navy'>No sure how I will repay you, but
anything you need, just let me know!!!!!!!!!!!!!!!!!!!!!!!!!!!!!</span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Verdana><span style='font-size:
10.0pt;font-family:Verdana;color:navy'>Thank you, thank you, thank you!!!!!!!!</span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'> </span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'> </span></font></p>
<p class=MsoNormal><font size=1 face=Verdana><span style='font-size:8.0pt;
font-family:Verdana'> -- Executing GotoIf("SIP/2007-12c7",
"0?4") in new stack</span></font></p>
<p class=MsoNormal><font size=1 face=Verdana><span style='font-size:8.0pt;
font-family:Verdana'> -- Executing SetCallerID("SIP/2007-12c7",
"2007") in new stack</span></font></p>
<p class=MsoNormal><font size=1 face=Verdana><span style='font-size:8.0pt;
font-family:Verdana'> -- Executing Goto("SIP/2007-12c7",
"6") in new stack</span></font></p>
<p class=MsoNormal><font size=1 face=Verdana><span style='font-size:8.0pt;
font-family:Verdana'> -- Goto (macro-dialout-trunk,s,6)</span></font></p>
<p class=MsoNormal><font size=1 face=Verdana><span style='font-size:8.0pt;
font-family:Verdana'> -- Executing SetGroup("SIP/2007-12c7",
"OUT_4") in new stack</span></font></p>
<p class=MsoNormal><font size=1 face=Verdana><span style='font-size:8.0pt;
font-family:Verdana'> -- Executing CheckGroup("SIP/2007-12c7",
"1") in new stack</span></font></p>
<p class=MsoNormal><font size=1 face=Verdana><span style='font-size:8.0pt;
font-family:Verdana'> -- Executing SetVar("SIP/2007-12c7",
"DIAL_NUMBER=2831234#") in new stack</span></font></p>
<p class=MsoNormal><font size=1 face=Verdana><span style='font-size:8.0pt;
font-family:Verdana'> -- Executing SetVar("SIP/2007-12c7",
"DIAL_TRUNK=4") in new stack</span></font></p>
<p class=MsoNormal><font size=1 face=Verdana><span style='font-size:8.0pt;
font-family:Verdana'> -- Executing AGI("SIP/2007-12c7",
"fixlocalprefix") in new stack</span></font></p>
<p class=MsoNormal><font size=1 face=Verdana><span style='font-size:8.0pt;
font-family:Verdana'> -- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix</span></font></p>
<p class=MsoNormal><font size=1 face=Verdana><span style='font-size:8.0pt;
font-family:Verdana'> fixlocalprefix: Could not parse /etc/asterisk/localprefixes.conf</span></font></p>
<p class=MsoNormal><font size=1 face=Verdana><span style='font-size:8.0pt;
font-family:Verdana'> -- AGI Script fixlocalprefix completed,
returning 0</span></font></p>
<p class=MsoNormal><font size=1 face=Verdana><span style='font-size:8.0pt;
font-family:Verdana'> -- Executing Dial("SIP/2007-12c7",
"ZAP/4/2831234#") in new stack</span></font></p>
<p class=MsoNormal><font size=1 face=Verdana><span style='font-size:8.0pt;
font-family:Verdana'> -- Called 4/2831234#</span></font></p>
<p class=MsoNormal><font size=1 face=Verdana><span style='font-size:8.0pt;
font-family:Verdana'> -- Zap/4-1 answered SIP/2007-12c7</span></font></p>
<p class=MsoNormal><font size=1 face=Verdana><span style='font-size:8.0pt;
font-family:Verdana'> -- Hungup 'Zap/4-1'</span></font></p>
<p class=MsoNormal><font size=1 face=Verdana><span style='font-size:8.0pt;
font-family:Verdana'> == Spawn extension (macro-dialout-trunk, s, 11)
exited non-zero on 'SIP/2007-12c7' in macro 'dialout-trunk'</span></font></p>
<p class=MsoNormal><font size=1 face=Verdana><span style='font-size:8.0pt;
font-family:Verdana'> == Spawn extension (from-internal, 2831234, 1)
exited non-zero on 'SIP/2007-12c7'</span></font></p>
<p class=MsoNormal><font size=1 face=Verdana><span style='font-size:8.0pt;
font-family:Verdana'> -- Executing Macro("SIP/2007-12c7",
"hangupcall") in new stack</span></font></p>
<p class=MsoNormal><font size=1 face=Verdana><span style='font-size:8.0pt;
font-family:Verdana'> -- Executing ResetCDR("SIP/2007-12c7",
"w") in new stack</span></font></p>
<p class=MsoNormal><font size=1 face=Verdana><span style='font-size:8.0pt;
font-family:Verdana'> -- Executing NoCDR("SIP/2007-12c7",
"") in new stack</span></font></p>
<p class=MsoNormal><font size=1 face=Verdana><span style='font-size:8.0pt;
font-family:Verdana'> -- Executing Wait("SIP/2007-12c7",
"5") in new stack</span></font></p>
<p class=MsoNormal><font size=1 face=Verdana><span style='font-size:8.0pt;
font-family:Verdana'> == Spawn extension (macro-hangupcall, s, 3) exited
non-zero on 'SIP/2007-12c7' in macro 'hangupcall'</span></font></p>
<p class=MsoNormal><font size=1 face=Verdana><span style='font-size:8.0pt;
font-family:Verdana'> == Spawn extension (from-internal, h, 1) exited
non-zero on 'SIP/2007-12c7'</span></font></p>
<p class=MsoNormal><font size=1 face=Verdana><span style='font-size:8.0pt;
font-family:Verdana'>pbx*CLI></span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'> </span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'> </span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'>-----Original Message-----<br>
<b><span style='font-weight:bold'>From:</span></b> Tha Man!!!!!!<br>
<b><span style='font-weight:bold'>Sent:</span></b> </span></font><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>Thursday, May
12, 2005</span></font><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'> </span></font><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'>8:34 AM</span></font><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'><br>
<b><span style='font-weight:bold'>To:</span></b> Manny Wise<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [Asterisk-Users] Cellsocket
help needed</span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> </span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>There is no real easy way (that I
know of) to add the # at the end without getting your hands a bit
"dirty".</span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Go into AMP and click on
Maintenance.</span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Then click on phpMyAdmin.</span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>That will open a new window with the
phpMyAdmin mysql interface.</span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> </span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>On the left, click on the dropdown
box and select "asterisk"</span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Under the box it will show the
structure of the DB.</span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Click on "extensions"</span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Now on the right near the top, click
on "Browse"</span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>This is where AMP keeps all your
extension info.</span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>This will be the hardest part
because you are going to have to do the identification.</span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Typically, the dial commands are
kept near the bottom and start with "outrt"</span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>You're going to want to find the
name of the outbound route that will be using the cellsocket.</span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Look for the entries for that route
that contain "dialout-trunk", those will be the ones you want to
edit.</span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Click on the little pencil icon for
that line.</span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Go to the "dialout-trunk"
line and add a # on to the end</span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> </span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>example:</span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>dialout-trunk,1,${EXTEN:}#</span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> </span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Then click on "go" at the bottom
to say the changes.</span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>This will save the change and take
you back to the previous list.</span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Make sure you have all the dialout-trunk's
in the list for that outrt modified.</span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Once done, close the phpMyAdmin
window.</span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Now go back to AMP. We need to force
it to regen its configs.</span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Go under setup.</span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Go under extensions.</span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Click on any extension on the right.</span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Don't change anything and just click
on "Submit Changes"</span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>This will pop up the red bar at the
top.</span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Click on it to apply changes.</span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>After all this, you should be good to
go.</span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> </span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Good luck!!</span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><!--StartFragment --><span
style='font-size:12.0pt'> </span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>----- Original Message ----- </span></font></p>
<p class=MsoNormal style='margin-left:.5in;background:#E4E4E4'><b><font size=2
face=Arial><span style='font-size:10.0pt;font-family:Arial;font-weight:bold'>From:</span></font></b><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'> <a
href="mailto:mawise@mail.com" title="mawise@mail.com">Manny Wise</a> </span></font></p>
<p class=MsoNormal style='margin-left:.5in'><b><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial;font-weight:bold'>To:</span></font></b><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'> The Best!!!</span></font></p>
<p class=MsoNormal style='margin-left:.5in'><b><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial;font-weight:bold'>Sent:</span></font></b><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'> </span></font><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Wednesday, May
11, 2005</span></font><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>6:29 PM</span></font></p>
<p class=MsoNormal style='margin-left:.5in'><b><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial;font-weight:bold'>Subject:</span></font></b><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'> Re:
[Asterisk-Users] Cellsocket help needed</span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> </span></font></p>
<p style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>I have made some progress, but still doesn't work....I
created the trunk, * is dialing the ttrunk... I see from telenet asterisk -r
that the trunk pass the call to the cellsocket....I see that it says Zap/4-1
answered.....but to make it work I have to press the # in the cisco phone, then
I see the cellphone dialing, ....I followed the instruction from the other post
and have tried several convinations and still don't put the # at end, Do you
have some samples?? thanks again!!!!!!</span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> </span></font></p>
</div>
</body>
</html>