MP-24*CLI> sip show registry
Host Username Refresh State Reg.Time
inbound2.vitelity.net:5060 myUserName 45 Registered Sun, 01 Jan 2012 09:13:40
In /var/log/messages, I see
[Jan 1 10:01:20] NOTICE[30322] cdr.c: CDR simple logging enabled.
[Jan 1 10:01:20] NOTICE[30322] loader.c: 54 modules will be loaded.
[Jan 1 10:01:20] WARNING[30322] loader.c: Error loading module 'app_cut.so': File not found
[Jan 1 10:01:20] WARNING[30322] res_smdi.c: No SMDI interfaces are available to listen on, not starting SDMI listener.
[Jan 1 10:01:21] NOTICE[30329] chan_sip.c: Peer 'vitel-outbound' is now Reachable. (58ms / 5000ms)
[Jan 1 10:01:21] WARNING[30322] loader.c: Error loading module 'app_cut.so': File not found
[Jan 1 10:01:21] WARNING[30322] loader.c: Module 'app_cut.so' could not be loaded.
[Jan 1 10:01:21] NOTICE[30329] chan_sip.c: Peer 'vitel-inbound' is now Reachable. (59ms / 5000ms)
[Jan 1 10:01:21] NOTICE[30329] chan_sip.c: Peer 'sipaccount' is now Reachable. (65ms / 2000ms)
This is what I see when incoming calls (2):
Really destroying SIP dialog '487aff0a556bbf60...@64.2.142.27' Method: ACK
Really destroying SIP dialog '6733bd857d6ccdc0...@64.2.142.27' Method: ACK
What I see out successful outgoing call:
MP-24*CLI> sip show channels
Peer User/ANR Call ID Seq (Tx/Rx) Form Hold Last Message
64.2.142.27 3863371111 5c4e9eb0487 00103/00000 gsm No Tx: INVITE
64.2.142.27 myUserName 78facb5706f 00137/00000 unkn No
2 active SIP channels
-- event_digit_timer
-- extension exists, starting PBX #3863374557
-- Executing [#3863371111@default:1] Dial("MP/1", "SIP/3863371111@sipaccount|120|r") in new stack
-- Called 3863371111@sipaccount
-- Asked to indicate 'Remote end is ringing' condition on channel MP/1
-- SIP/sipaccount-00581618 is making progress passing it to MP/1
________________________________________
I saw something strange while further debugging.
When Asterisk loads this is what I see:
== Parsing '/etc/asterisk/asterisk.conf': Parsing /etc/asterisk/asterisk.conf
Found
== Parsing '/etc/asterisk/extconfig.conf': Parsing /etc/asterisk/extconfig.conf
Found
Connected to Asterisk 1.4.11 currently running on MP-24 (pid = 1108)
Verbosity was 0 and is now 4
Core debug was 0 and is now 2
-- Remote UNIX connection
This is what I see on incoming call attempt (Caller connects then call drops)
-- Executing [787336XXXX@inbound:1] Answer("SIP/myUsename-0056c1d0", "") in new stack
== Auto fallthrough, channel 'SIP/myUsename-0056c1d0' status is 'UNKNOWN'
---------------------------------
Two questions:
1. This is what is in extconfig.conf Should this be BLANK ??
root@MP-24:/etc/asterisk# cat extconfig.conf
; Static and realtime external configuration
[settings]
root@MP-24:/etc/asterisk#
2. Incoming Caller connects then call drops. What is the Auto fallthrough and how to config?
Auto fallthrough, channel 'SIP/myUsername-0056c1d0' status is 'UNKNOWN'
Any clue what is triggering this issue?
I look to the group as the source of wisdom for clarity on the issue.
Thanks,
Jose'
Really destroying SIP dialog '487aff0a556bbf60341eb92b1a6286...@64.2.142.27' Method: ACK
Really destroying SIP dialog '6733bd857d6ccdc0350cefc359f4e6...@64.2.142.27' Method: ACK
ro...@MP-24:/etc/asterisk# cat extconfig.conf
; Static and realtime external configuration
[settings]
ro...@MP-24:/etc/asterisk#
Many people will theorize about using A2Billing for the job. Although is it well possible, I see it as being an overkill. First, it rules out the use of an IP0X, an other embedded devices. The reason is simple. You will need to install PHP and MySQL at the very least. This means using up a large part of the valuable flash memory ... not to mention the limited RAM available and the configuration puzzles and the learning curve if you have never used it.
And remember this ... for a programmer the only way to avoid bugs in a line of code is not to write any code at all.
Similarly, you should stick to the strict rule of using only components that are absolutely necessary in your MP based infrastructure.
Cheers
A. $iby
Hi Abdoulaye
Thanks for sharing your experiences. I am particularly interested in your comments around using low end devices to act as gateways and centralised the Asterisk management.
I have been thinking about using the TP Link WD842ND and WDR4300 devices as possibilities for this purpose. These have 32 and 128 Mb Ram respectively and cost $50 / 100 each. They have USB ports so flash memory is essentially unlimited.
From our work with the TP Link WR703N and other devices we now have a well developed process for setting them up with OpenWrt, Asterisk and Village Telco firmware.
I would be interested in your view as to whether these devices are likely to be suitable for use in the role you outlined.
If so I would like to work towards developing a standard firmware image for this purpose to make it easy for people to set up networks as you describe.
Regarding the MP SECN SIP / VoIP set up, the intention is to support a simple use case of an individually managed account used on a single device.
The set up requires only the entry of the SIP account credentials and Asterisk restart in order for the device to register and make incoming and outgoing calls. There is no requirement to modify any config files for this simple use case.
This simple set up al
--
You received this message because you are subscribed to the Google Groups "village-telco-dev" group.
To post to this group, send email to village-...@googlegroups.com.
To unsubscribe from this group, send email to village-telco-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/village-telco-dev/-/ay4gU2Rj7YUJ.
And the rest of the message...
This simple set up also allows the use of the
sip acct by attached softphones if required.
It is critical that the network config of the MP and the LAN is correct to allow the MP to access the sip host over the internet.
Basically the MP has to be in the correct LAN subnet with access to the gateway and DNS.
It will be interesting to see what the problem with Jose's set up turns out to be since the Vitelity accounts work fine on MPs in my test set up.
Regards
Terry