keywords: ip pbx voip gateway gsm gateway

×

Notice

The forum is in read only mode.
× Questions about G400/G410 Cards.

Call to GSM module from outside with returns "NO CARRIER" error

12 years 10 months ago #6995 by saeed144
Dear All,
I have installed G400p, tested and working Ok, on asterisk 1.6.2.11 with chan_extra (libgsmat 1.1.0)

When I call the SIM card number on the Module, It dosn't pick up the call and after the caller gives up,
Asterisk just prints this line in CLI
[Date Time] ERROR[1474]: chan_extra.c:8568 extra_gsm_error: [simcom.c(189)-simcom_check_sms] !NO CARRIER!

While the module is actually registered and can send SMS,
asterisk*CLI> gsm show span 2
D-channel: 6
Status: Provisioned, Up, Active
Type: CPEManufacturer: SIM....
Model Name: SIM......
Revision: 123123123123123123
Network Name: Network
Status: Registered (Home network)
Net Coverage (0,31): 23
Card IMEI: 123123123123123SIM
IMSI: 12312313123123123


Why dosn't it pick up the call, I have defined incoming route in Freepbx destined all coming CID from mobile network to a voice mail of a SIP user,
What am I missing?

Thanks for your time,
Saeed144

i] Last edited by saeed144 at 2011-6-19 20:34 [/i
12 years 10 months ago #6996 by Joe.Yung
Hi,

Could you tell us which version of chan-extra you are using? Can you receive any `answer` info on the CLI when you make an incoming call?

Please post a complete phone call process or debug info here.

12 years 10 months ago #7003 by saeed144
Dear Joe,

I want to receive calls by the modules that is installed on G400p,
Other than creating an Inbound route in freepbx, what else do I need?

asterisky*CLI> extra show channel 5
Channel: 5
File Descriptor: 11
Span: 2
Extension:
Dialing: no
Context: from-gsm

And creating
include => ext-did-0002-custom
exten => _./_98XXXXXXXXXX,1,Set(__FROM_DID=${EXTEN})
exten => _./_98XXXXXXXXXX,n,Goto(s,1)
exten => s/_98XXXXXXXXXX,1,ExecIf($["${FROM_DID}" = ""]?Set(__FROM_DID=${EXTEN}))
exten => s/_98XXXXXXXXXX,n,ExecIf($[ "${CALLERID(name)}" = "" ] ?Set(CALLERID(name)=${CALLERID(num)}))
exten => s/_98XXXXXXXXXX,n,Set(__CALLINGPRES_SV=${CALLERPRES()})
exten => s/_98XXXXXXXXXX,n,Set(CALLERPRES()=allowed_not_screened)
exten => s/_98XXXXXXXXXX,n,Set(_RGPREFIX=Mobile)
exten => s/_98XXXXXXXXXX,n,Set(CALLERID(name)=${RGPREFIX}${CALLERID(name)})
exten => s/_98XXXXXXXXXX,n(dest-ext),Goto(ext-local,vmu10001,1)

When a call comes, it just prints in CLI (when gsm debug is On),

<<< 0 ATH -- +CLIP: "+989556664455",145,"",,"",0 , 35
<<< 0 ATH -- +CSQN: 18,3 , 11
<<< 0 ATH -- NO CARRIER , 10
[Jun 20 10:40:15] ERROR[1474]: chan_extra.c:8568 extra_gsm_error: [simcom.c(189)-simcom_check_sms] !NO CARRIER!


I still remember how helpful you were during last time troubleshooting,
Thanks,
Saeed
12 years 10 months ago #7004 by Joe.Yung
Hi Saeed,

To make much progress, would you mind providing remote SSH info to me again?

Or how about creating a simple dialplan to test first, like:
[from-gsm]
exten=>s,1,Answer()
exten=>s,2,Dial(SIP/XXX) // XXX is your sip extension registered on the sever. Indicate the incoming call to this extension
exten=>s,n,Hangup()

We need to prove the call has carried out the dialplan, but it's difficult to check if this is the dialplan issue or other problem from the info you provided above.

12 years 10 months ago #7009 by saeed144
Dear Joe,

I guess It's Dial-plan problem, because last time, I checked both call to and from the GSM module, everything OK,
But with Freepbx installed, I can't define a correct incoming route to guide the calls to the GSM module to some SIP extension,

I am trying to troubleshoot it and ask for help in Freepbx forum,

Thank you anyway,
Saeed
Time to create page: 0.037 seconds
Powered by Kunena Forum