cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
317
Views
0
Helpful
1
Replies

Route a call when both the 'called' and 'calling' entries are null

gregsporton
Level 1
Level 1

Hi all,

I'm setting up a remote site that has a single FXO card terminating a standard analog line from the carrier. This is at a very remote mining site and carrier services are basic at best. When I perform a debug on incoming calls I can see that both the called and calling entries are null:

00:32:22: cc_api_call_setup_ind (vdbPtr=0x81186F0C, callInfo={called=,called_oct3=0x81,calling=,calling_oct3=0x0,calling_oct3a=0x0,calling_xlated=false,subscriber_type_str=RegularLine,fdest=1,peer_tag=1, prog_ind=3,callingIE_present 0},callID=0x812E24C0)

00:32:22: cc_api_call_setup_ind calling number is null, answer addr dest pattern 0T e164_ans_addr 0 e164_dest_pattern 0

How on earth can I setup a voip dial-peer to forward incoming calls to the CM if I can't match against the called number?

I can set the calling number with the answer-address command and ideally I would like a way of setting all incoming calls with a single called number and perform the routing based on that. All incoming calls are to be directed to the receptionist at the head office so there is no need to route any incoming calls to specific extensions.

If that is not possible is there a way to route the call through a voip peer based on the calling number set with the answer-address command?

Any help would be greatly appreciated.

Thanks.

1 Reply 1

jmessina
Level 1
Level 1

since you want to do h.323 you can just do

connection plar opx under the voice port

voice-port 1/1

connection plar opx 4000 (dn of operator)

dial-peer voice 4 voip

destination-pattern 4000

session target ipv4:10.1.1.10

dtmf-relay h245-alphanumeric

i would just do mgcp though and set the

attendant dn to 4000 ( dn of operator)