Skip to main content

outgoing cli anomynous on huntlist other numbers to dial

Posted by Wender on Tue, 11/02/2010

Hey.

we have noticed a "problem" with the outgoing cli when we enter a external phone number on the other numbers to dial box on a huntlist.

I setup a huntlist with a external number (lets call this number B) in the other numbers to dial box.
i make a inbound route on one of my phone numbers (lets call this number A) to this huntlist.
now if i call number A with my cellphone, number B rings and i can see the default tenant CLI.

but when i disable callerid on my cellphone. and i call to number A. then the pbx calls B with a hidden cli. instead of replacing it with the tenants default cli.

i have logs and tcpdumps and on your request I can mail them to you

Wender


Submitted by eeman on Tue, 11/02/2010 Permalink

check your CDR and see what callerid is on the CDR. IT might still be set, but your redirected call is possibly passing along the presentation_passed_screen option marking it blocked/private. If you have the captures, check your sip messages for a header labeled Remote-Party-ID

Submitted by Wender on Thu, 11/11/2010 Permalink

in the scripts.include i changed the [macro-tl-dialout-base] context.
changed
exten => dial-SIP,n(routeoptions),Dial(SIP/${TRUNK_PREPEND}${NUMBER_TO_DIAL:${TRUNK_STRIP}}@${TRUNK_NAME},${ARG1},${ROUTE_OPTIONS})
exten => dial-SIP,n,Goto(dial-${DIALSTATUS},1)

into

exten => dial-SIP,n(routeoptions),SetCallerPres(allowed)
exten => dial-SIP,n,Dial(SIP/${TRUNK_PREPEND}${NUMBER_TO_DIAL:${TRUNK_STRIP}}@${TRUNK_NAME},${AR
exten => dial-SIP,n,Goto(dial-${DIALSTATUS},1)