I am posting this in case someone need help….

 

=========================================================

YOU THA MAN!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

No sure how I will repay you, but anything you need, just let me know!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Thank you, thank you, thank you!!!!!!!!

 

 

    -- Executing GotoIf("SIP/2007-12c7", "0?4") in new stack

    -- Executing SetCallerID("SIP/2007-12c7", "2007") in new stack

    -- Executing Goto("SIP/2007-12c7", "6") in new stack

    -- Goto (macro-dialout-trunk,s,6)

    -- Executing SetGroup("SIP/2007-12c7", "OUT_4") in new stack

    -- Executing CheckGroup("SIP/2007-12c7", "1") in new stack

    -- Executing SetVar("SIP/2007-12c7", "DIAL_NUMBER=2831234#") in new stack

    -- Executing SetVar("SIP/2007-12c7", "DIAL_TRUNK=4") in new stack

    -- Executing AGI("SIP/2007-12c7", "fixlocalprefix") in new stack

    -- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix

  fixlocalprefix: Could not parse /etc/asterisk/localprefixes.conf

    -- AGI Script fixlocalprefix completed, returning 0

    -- Executing Dial("SIP/2007-12c7", "ZAP/4/2831234#") in new stack

    -- Called 4/2831234#

    -- Zap/4-1 answered SIP/2007-12c7

    -- Hungup 'Zap/4-1'

  == Spawn extension (macro-dialout-trunk, s, 11) exited non-zero on 'SIP/2007-12c7' in macro 'dialout-trunk'

  == Spawn extension (from-internal, 2831234, 1) exited non-zero on 'SIP/2007-12c7'

    -- Executing Macro("SIP/2007-12c7", "hangupcall") in new stack

    -- Executing ResetCDR("SIP/2007-12c7", "w") in new stack

    -- Executing NoCDR("SIP/2007-12c7", "") in new stack

    -- Executing Wait("SIP/2007-12c7", "5") in new stack

  == Spawn extension (macro-hangupcall, s, 3) exited non-zero on 'SIP/2007-12c7' in macro 'hangupcall'

  == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/2007-12c7'

pbx*CLI>

 

 

-----Original Message-----
From: Tha Man!!!!!!
Sent:
Thursday, May 12, 2005 8:34 AM
To: Manny Wise
Subject: Re: [Asterisk-Users] Cellsocket help needed

 

There is no real easy way (that I know of) to add the # at the end without getting your hands a bit "dirty".

Go into AMP and click on Maintenance.

Then click on phpMyAdmin.

That will open a new window with the phpMyAdmin mysql interface.

 

On the left, click on the dropdown box and select "asterisk"

Under the box it will show the structure of the DB.

Click on "extensions"

Now on the right near the top, click on "Browse"

This is where AMP keeps all your extension info.

This will be the hardest part because you are going to have to do the identification.

Typically, the dial commands are kept near the bottom and start with "outrt"

You're going to want to find the name of the outbound route that will be using the cellsocket.

Look for the entries for that route that contain "dialout-trunk", those will be the ones you want to edit.

Click on the little pencil icon for that line.

Go to the "dialout-trunk" line and add a # on to the end

 

example:

dialout-trunk,1,${EXTEN:}#

 

Then click on "go" at the bottom to say the changes.

This will save the change and take you back to the previous list.

Make sure you have all the dialout-trunk's in the list for that outrt modified.

Once done, close the phpMyAdmin window.

Now go back to AMP. We need to force it to regen its configs.

Go under setup.

Go under extensions.

Click on any extension on the right.

Don't change anything and just click on "Submit Changes"

This will pop up the red bar at the top.

Click on it to apply changes.

After all this, you should be good to go.

 

Good luck!!

 

----- Original Message -----

From: Manny Wise

To: The Best!!!

Sent: Wednesday, May 11, 2005 6:29 PM

Subject: Re: [Asterisk-Users] Cellsocket help needed

 

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!!!!!!

 

_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to