How can I get PRI number in URL

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

How can I get PRI number in URL

Postby urmi.l » Mon May 05, 2014 1:39 pm

Hello,

VERSION: 2.4-364a | Asterisk 1.4.44 | Single Server | No Extra Software After Installation | CentOS release 5.5 | 1 port PRI

I have in group and its working fine. I have below query :

I want to have PRI number on which we get the incoming call. For that I have below sample url which I put in ingroup =>Web Form. I can get the customer's phone number but not able to get the PRI number on which the call comes. I tried below variables but failed. How can I get PRI number in URL.

192.168.1.1/new_call.php?caller=--A--phone_number--B--&ReceivedPRI=--A--dialed_number--B--
OR
192.168.1.1/new_call.php?caller=--A--phone_number--B--&ReceivedPRI=--A--did_extension--B--
OR
192.168.1.1/new_call.php?caller=--A--phone_number--B--&ReceivedPRI=--A--did_pattern--B--


Thanks
urmi.l
 
Posts: 108
Joined: Mon Jun 04, 2012 4:04 am
Location: India

Re: How can I get PRI number in URL

Postby striker » Tue May 06, 2014 11:20 am

did you tried the below variables.


--A--did_extension--B--

other variable related to DID configured in vicidial
--A--did_id--B--
--A--did_pattern--B--
--A--did_description--B--
www.striker24x7.com www.youtube.com/c/striker24x7 Telegram/skype id : striker24x7
striker
 
Posts: 962
Joined: Sun Jun 06, 2010 10:25 am

Re: How can I get PRI number in URL

Postby urmi.l » Thu May 08, 2014 6:32 am

As mentioned above, I have tried all the cases. I m sure that it will be displayed by such these parameters only. But dont knw which parameter. Please guide me further pls.
urmi.l
 
Posts: 108
Joined: Mon Jun 04, 2012 4:04 am
Location: India

Re: How can I get PRI number in URL

Postby striker » Thu May 08, 2014 11:30 pm

did you tried --A--did_extension--B-- and --A--did_id--B--
what value you are getting while receive a incomming call ( check the URL)


Have you create DID's or using default one with named default
www.striker24x7.com www.youtube.com/c/striker24x7 Telegram/skype id : striker24x7
striker
 
Posts: 962
Joined: Sun Jun 06, 2010 10:25 am

Re: How can I get PRI number in URL

Postby urmi.l » Tue May 13, 2014 2:57 am

When I m using --A--did_extension--B-- and --A--did_id--B--, I m getting my own number (i.e Caller's number) is getting displayed in URL. If fact it should display PRI number on which I made a call.

Any suggestions pls.
urmi.l
 
Posts: 108
Joined: Mon Jun 04, 2012 4:04 am
Location: India


Return to Support

Who is online

Users browsing this forum: No registered users and 62 guests