keywords: ip pbx voip gateway gsm gateway

×

Notice

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

OpenVox G400E incoming sms route?

10 years 3 months ago #9305 by Shamanchik
if recived incoming sms on any span, ringing phone in inbound route and mute???
how to properly configure inbound route for sms?
I read it http://bbs.openvox.cn/viewthread.php?tid=1899& ;highlight=sms

and realized that you need to edit the file extensions.conf , but
"Do NOT edit this file as it is auto-generated by FreePBX"
I see recived sms in
/var/log/asterisk/sms/receive_sms

I have installed: Elastix-2.4.0-Stable-i386-bin-04Feb2013

libgsmat version: 2.0.7

i] Last edited by Shamanchik at 2013-12-25 21:27 [/i
10 years 3 months ago #9306 by tim.june
Here are some steps to fix it:
1. make sure extra-channels.conf looks like this:
; Span 1: opvxg4xx/0/1 "OpenVox G400P GSM/CDMA PCI Card 0" (MASTER) AMI/CCS
group=11
context=from-gsm
signalling = gsm
smscodec=utf-8
hwdtmfdet=1
debugat=on
tty=off
;pin=1234
channel => 1
context = default
group = 63

; Span 2: opvxg4xx/0/2 "OpenVox G400P GSM/CDMA PCI Card 0" AMI/CCS
group=12
context=from-gsm
signalling = gsm
smscodec=utf-8
debugat=on
tty=off
;pin=1234
channel => 3
context = default
group = 63

; Span 3: opvxg4xx/0/3 "OpenVox G400P GSM/CDMA PCI Card 0" AMI/CCS
group=13
context=from-gsm
signalling = gsm
smscodec=utf-8
debugat=on
tty=off
;pin=1234
channel => 5
context = default
group = 63

; Span 4: opvxg4xx/0/4 "OpenVox G400P GSM/CDMA PCI Card 0" AMI/CCS
group=14
context=from-gsm
signalling = gsm
smscodec=utf-8
debugat=on
tty=off
;pin=1234
channel => 7
context = default
group = 63


2. Insert the content in RED to extensions.conf:
#include extensions_custom.conf
[from-digital]
include => from-pstn

[from-analog]
include => from-dahdi

[from-gsm]
exten => sms,1,Verbose(${SMSSRC})
exten => sms,n,Verbose(${SMSTXT})
exten => sms,n,Hangup()
exten => sms_send_ok,1,NoOp(SMS send OK!)
exten => sms_send_ok,n,Hangup()
exten => sms_send_failed,1,NoOp(SMS send failed, Please check the number and try again!)
exten => sms_send_failed,n,Hangup()
include => from-pstn

[from-trunk] ; just an alias since VoIP shouldn't be called PSTN
include => from-pstn

After that, restart asterisk and test again, pls keep me update!

i] Last edited by tim.june at 2013-12-25 20:50 [/i

Email: This email address is being protected from spambots. You need JavaScript enabled to view it.
Skype: tim.jjune
10 years 3 months ago #9307 by Shamanchik
Thanks, this works :handshake
i'm edited extensions.conf

i] Last edited by Shamanchik at 2013-12-25 21:12 [/i
8 years 9 months ago #10480 by Shamanchik
Elastix 2.5
work is fine, but errors "is not a verboser number" in asterisk -r when recive sms, example:
[2015-07-09 12:09:12] WARNING[16934][C-000002a8]: app_dial.c:2437 dial_exec_full: Unable to create channel of type 'EXTRA' (cause 17 - User busy)
[2015-07-09 12:09:12] WARNING[16934][C-000002a8]: translate.c:343 framein: no samples for ulawtolin
+380970000000
[2015-07-09 12:10:37] WARNING[3427][C-00000035]: app_verbose.c:101 verbose_exec: 'Я знову на зв’язку! Зателефонуйте мені' is not a verboser number
 будь ласка.
[2015-07-09 12:10:59] WARNING[16982][C-000002ac]: app_dial.c:2437 dial_exec_full: Unable to create channel of type 'EXTRA' (cause 17 - User busy)
[2015-07-09 12:10:59] WARNING[16982][C-000002ac]: translate.c:343 framein: no samples for ulawtolin
8 years 9 months ago #10481 by lindali
Hi,

Please prepare remote access, I'll check it for you. And for convenient contact, add my skype please.

Best regards,
email: This email address is being protected from spambots. You need JavaScript enabled to view it.
skype: linda.li258
8 years 9 months ago - 8 years 9 months ago #10483 by Shamanchik
remote access trouble.... server from NAT

FOUND: This problem warning "is not a verboser number", if SMS contains ' in text
[2015-07-09 16:51:56] WARNING[3427][C-00000035]: app_verbose.c:101 verbose_exec: 'Incoming SMS from +380960000000 Я знову на зв’язку! Зателефонуйте мені' is not a verboser number
 будь ласка.

I'm changed extensions.conf
[from-gsm]
exten => sms,1,Verbose(Incoming SMS from "${SMSSRC}" : "${SMSTXT}")
;exten => sms,1,Verbose(${SMSSRC})
;exten => sms,n,Verbose(${SMSTXT})
exten => sms,n,System(echo "${STRFTIME(${EPOCH},,%Y-%m-%d %H:%M:%S)} :: ${SMSSRC} :: ${SMSTXT}:::" >> /var/www/html/sms_in.txt)
exten => sms,n,Hangup()
exten => sms_send_ok,1,NoOp(SMS send OK!)
exten => sms_send_ok,n,Hangup()
exten => sms_send_failed,1,NoOp(SMS send failed, Please check the number and try again!)
exten => sms_send_failed,n,Hangup()
include => from-pstn

Test sms OK: B)
Incoming SMS from +380990000000 : Т.,'?!\"-()@/:_;+&%*=<>£€$¥¤[]{}\\~^\`¡¿§#|
т
Time to create page: 0.059 seconds
Powered by Kunena Forum