[Amportal-users] add prefix 9 for all incoming calls (from P

one of two places to do it

a. your zap channel uses a context most likely ‘from-pstn’ … that would be
a logical place in the extensions.conf code to modify the callerid number
and pre-pend the ‘9’

b. in the redilal application in extensions_additional.conf you could do it
right after it retrieves the number from the database. But if you do it
here you would 1st test to see that the number is not within the range of
you local extensions before you pre-pend the “9” to the callerid number

From: novecento [email protected]
Reply-To: [email protected]
To: [email protected]
Subject: [Amportal-users] add prefix 9 for all incoming calls (from PSTN
/ZAP only)
Date: Sat, 6 Jan 2007 10:13:00 +1000

i would like to add a 9 in front of the incoming CID for calls from zaptel.
this will allow our users to re-dial the number (we need a leading 9 for our
outbound route).

my current solution is adding a 9 to all CID also the internal extension =
internal extension (missed calls) always have a 9 in front, therfore they
can not call each other any more via simple re-dial.

looking forward to some help. thanks.

with best regards
daniel


Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net’s Techsay panel and you’ll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV


Amportal-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amportal-users


Get FREE Web site and company branded e-mail from Microsoft Office Live
http://clk.atdmt.com/MRT/go/mcrssaub0050001411mrt/direct/01/

Post generated using Mail2Forum (http://www.mail2forum.com)

here is additional documentation on the subject in their case they are
prepending “0” to the callerid:
http://aussievoip.com.au/wiki/How+to+change+incoming+CallerID

it is still important about how your zap context is setup they walk you
through a possible configuration of your zap context

rgds

From: novecento [email protected]
Reply-To: [email protected]
To: [email protected]
Subject: Re: [Amportal-users] add prefix 9 for all incoming calls (from P
Date: Sat, 6 Jan 2007 22:58:15 +1000

dear bbocus

yes i would love to do it like you suggest in solution a).

but could you post how to do it (syntax).

with best regards
daniel


Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net’s Techsay panel and you’ll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV


Amportal-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amportal-users


Find sales, coupons, and free shipping, all in one place!  MSN Shopping
Sales & Deals
http://shopping.msn.com/content/shp/?ctid=198,ptnrid=176,ptnrdata=200639

Post generated using Mail2Forum (http://www.mail2forum.com)

dear bbocus

yes i would love to do it like you suggest in solution a).

but could you post how to do it (syntax).

with best regards
daniel

you need a statement like this:

exten => s,1,Set(CALLERID(number)=9${CALLERIDNUM})

of course you have to substitute it in the right place in your zap context,
with the appropriate extension and priority. I have no clue how your zap
context is set up so i can’t be that detail.

You should also worry about the case where the callerid is not sent and make
sure that some weird number does not get dialed on the call trace function

you also have to sort through prefix … like 00 or 011 or 1 because they
don’t always come with the callerid and if you carrier needs them then "9"
by it self is not going to do the trick

Another way to do this, i recommed this to clients as a 1st pass, is to
write out the strings that they have to dial becasue sometimes you can do it
all in the “outbound routes” but you need to “see” what the callerids look
like versus what the dial string will eventually look like and then use the
outbound routes to do the conversion.

caveat: if none of this makes sense then whip out your wallet, credit card,
paypal, send me your machine details and I will make it work in your system.
If it makes sense then glad to be of help.

From: novecento [email protected]
Reply-To: [email protected]
To: [email protected]
Subject: Re: [Amportal-users] add prefix 9 for all incoming calls (from P
Date: Sat, 6 Jan 2007 22:58:15 +1000

dear bbocus

yes i would love to do it like you suggest in solution a).

but could you post how to do it (syntax).

with best regards
daniel


Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net’s Techsay panel and you’ll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV


Amportal-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amportal-users


Dave vs. Carl: The Insignificant Championship Series.  Who will win?
http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://davevscarl.spaces.live.com/?icid=T001MSN38C07001

Post generated using Mail2Forum (http://www.mail2forum.com)