problem with inbound call

All installation and configuration problems and questions

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

problem with inbound call

Postby Arbind » Tue May 27, 2014 6:15 am

Hello everyone,
This is my first post, so please be patient with me.
my configuration is

ViciBox Redux v.5.0.2-130821| VERSION: 2.8-432a BUILD: 140404-1007 | asterisk-1.8.3 | Single Server | allo gsm card | No Extra Software After Installation | Intel(R) Core(TM) i5-3450 CPU @ 3.10GHz

I followed the manager manul ,make inbound group,did and inbound camping but when i tried to call in to server (on my gsm number) it shows

cli>

[May 27 14:56:18] == Starting GSM/2 at gsm-incoming2,s,1 failed so falling back to exten 's'
[May 27 14:56:18] == Starting GSM/2 at gsm-incoming2,s,1 still failed so falling back to context 'default'
[May 27 14:56:18] -- Sent into invalid extension 's' in context 'default' on GSM/2
[May 27 14:56:18] -- Executing [i@default:1] Playback("GSM/2", "invalid") in new stack
[May 27 14:56:18] event=OK
[May 27 14:56:18] -- <GSM/2> Playing 'invalid.gsm' (language 'en')
[May 27 14:56:22] -- Executing [i@default:2] Hangup("GSM/2", "") in new stack
[May 27 14:56:22] == Spawn extension (default, i, 2) exited non-zero on 'GSM/2'
[May 27 14:56:22] -- Executing [h@default:1] AGI("GSM/2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16---------------") in new stack
[May 27 14:56:22] -- <GSM/2>AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0


the call will disconnected with a system recorded voice that " i am sorry that is not a valid extension"

my Dial pattern is (which work properly in outbond call)

exten => _0X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _0X.,2,Dial(GSM/2/${EXTEN},,To)
exten => _0X.,3,Hangup

let me know if any more information is required, and sorry for my english.
Any help is greatly appreciated
Thank you
Arbind
 
Posts: 12
Joined: Mon May 19, 2014 2:27 am

Re: problem with inbound call

Postby striker » Tue May 27, 2014 1:44 pm

change the Context to trunkinbound instead of gsm-incoming2
and add the below dailplan under trunkinbound context

exten => s,1,AGI(agi-DID_route.agi)



or create a new context in extensions.conf as gsm-incoming2
[gsm-incoming2]
exten => s,1,AGI(agi-DID_route.agi)
exten => h,1,AGI(agi://127.0.0.1:4577/call_log--HVcauses ... EBUG-----${HANGUPCAUSE}-----${DIALSTATUS}-----${DIALEDTIME}-----${ANSWEREDTIME})
www.striker24x7.com www.youtube.com/c/striker24x7 Telegram/skype id : striker24x7
striker
 
Posts: 962
Joined: Sun Jun 06, 2010 10:25 am

Re: problem with inbound call

Postby Arbind » Wed May 28, 2014 1:44 am

first of all thank you for your reply striker:
i changed the context to trunkinbound as you mention and try to call, but this time their is some different cli> message:


[May 28 10:45:33] -- Executing [s@trunkinbound:1] AGI("GSM/2", "agi-DID_route.agi") in new stack
[May 28 10:45:33] -- Launched AGI Script /usr/share/asterisk/agi-bin/agi-DID_route.agi
[May 28 10:45:33] -- <GSM/2>AGI Script agi-DID_route.agi completed, returning 0
[May 28 10:45:33] -- Auto fallthrough, channel 'GSM/2' status is 'UNKNOWN'
[May 28 10:45:33] -- Executing [h@trunkinbound:1] AGI("GSM/2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
[May 28 10:45:33] -- <GSM/2>AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0

i also tried the next option to create the new context in extensions.conf as gsm-incoming2 but got the same cli> message.
and phone got disconnect after two ring by beep sound.
Arbind
 
Posts: 12
Joined: Mon May 19, 2014 2:27 am

Re: problem with inbound call

Postby striker » Wed May 28, 2014 4:00 am

create a DID with id as s in admin interface
and set DID route to ingourp or any phone
www.striker24x7.com www.youtube.com/c/striker24x7 Telegram/skype id : striker24x7
striker
 
Posts: 962
Joined: Sun Jun 06, 2010 10:25 am

Re: problem with inbound call

Postby Arbind » Wed May 28, 2014 5:38 am

thanks again for your reply:

i tried to make did with id "s" but it fails and error is, DID Extension must be between 2 and 20 characters in length.where as i already have a did with id "874591511" and did route is set to ingroup...
my did setting is as fallow


DID Extension: 874591511
DID Description:
Active: Y
Admin User Group:--ALL--
DID Route: IN_group
Record Call: N
Extension: 9998811112
Extension Context: default
Voicemail Box:
Phone Extension: 9999
Server IP: 192.168.1.15
Call Menu:
User Agent:
User Unavailable Action:
User Route Settings In-Group: SALESLINE
In-Group ID: SALESLINE
In-Group Call Handle Method:CID
In-Group Agent Search Method: LB
In-Group List ID: 999
In-Group Campaign ID:
In-Group Phone Code: 1
Clean CID Number:
Filter Inbound Number:
Filter Phone Group ID:
Filter URL:
Filter URL DID Redirect:
Filter DNC Campaign:
Filter Action:
Filter Extension:
Filter Extension Context:
Filter Voicemail Box: voicemail chooser
Filter Phone Extension:
Filter Server IP:
Filter Call Menu:
Filter User Agent:
Filter User Unavailable Action:
Filter User Route Settings In-Group:
Filter In-Group ID:
Filter In-Group Call Handle Method:
Filter In-Group Agent Search Method:
Filter In-Group List ID:
Filter In-Group Campaign ID:
Filter In-Group Phone Code:

my ingroup id is SALESLINE which i build by fallowing the steps of vicidial manager manual..

i tried by changing the extern. "s" by my did (874591511) in the context trunkinbound in extension.conf

[trunkinbound]
exten => 874591511,1,AGI(agi-DID_route.agi)
exten => h,1,AGI(agi://127.0.0.1:4577/call_log--HVcauses ... EBUG-----${HANGUPCAUSE}-----${DIALSTATUS}-----${DIALEDTIME}-----${ANSWEREDTIME})

but it also not work, shows cli>

[May 28 14:33:50] -- Executing [i@default:1] Playback("GSM/2", "invalid") in new stack
[May 28 14:33:50] event=OK
[May 28 14:33:51] -- <GSM/2> Playing 'invalid.gsm' (language 'en')
[May 28 14:33:55] -- Executing [i@default:2] Hangup("GSM/2", "") in new stack
[May 28 14:33:55] == Spawn extension (default, i, 2) exited non-zero on 'GSM/2'
[May 28 14:33:55] -- Executing [h@default:1] AGI("GSM/2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16---------------") in new stack
[May 28 14:33:55] -- <GSM/2>AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0



and phone disconnect with a system voice " i an sorry that is not a valid extension".

what can i do next..
Arbind
 
Posts: 12
Joined: Mon May 19, 2014 2:27 am

Re: problem with inbound call

Postby striker » Wed May 28, 2014 11:53 am

874591511

then try

[trunkinbound]
exten => _X.,1,AGI(agi-DID_route.agi)

exten => s,1,Answer()
exten => s,2,Set(EXTEN=874591511)
exten => s,3,GoTo(trunkinbound,${EXTEN},1)
exten => s,4,Hangup

then create a DID as 874591511 in the Admin with necessary DID route
www.striker24x7.com www.youtube.com/c/striker24x7 Telegram/skype id : striker24x7
striker
 
Posts: 962
Joined: Sun Jun 06, 2010 10:25 am

Re: problem with inbound call

Postby Arbind » Thu May 29, 2014 1:48 am

i tried [trunkinbound] exactly as you mention,

[trunkinbound]
exten => _X.,1,AGI(agi-DID_route.agi)

exten => s,1,Answer()
exten => s,2,Set(EXTEN=874591511)
exten => s,3,GoTo(trunkinbound,${EXTEN},1)
exten => s,4,Hangup

but the it not worked,an infinite loop of message is running in cli> till i hangup the phone.

then i do some change to it

[trunkinbound]
exten => _X.,1,AGI(agi-DID_route.agi)
exten => s,1,Answer()
exten => s,n,Goto(trunkinbound,874591511,1)

and it work :D (problem solved)

thank you striker for helping me and guide me to the right way :).
Arbind
 
Posts: 12
Joined: Mon May 19, 2014 2:27 am


Return to Support

Who is online

Users browsing this forum: No registered users and 141 guests

cron