[asterisk-users] Truly *background* music on hold

2019-11-19 Thread Antony Stone
Hi. Does anyone have suggestions on how to achieve true background music on hold, by which I mean music which plays continuously, even in the presence of additional spoken announcements, such as: a) intermittent Playback() commands which I want to do every 30 seconds or so b) queue announcemen

[asterisk-users] Experience with WebRTC on MacOS ?

2019-11-19 Thread Olivier
Hello, Reading [1], I would be very curious to read about WebRTC on MacOS, either for Voice or Voice and Video calls. How does MacOS compare today to Windows or Linux regarding WebRTC support ? Do you need to use Chrome or Firefox to get WebRTC ? [1] https://webkit.org/blog/8672/on-the-road-to-w

[asterisk-users] Which architecture for WebRTC on a LAN with PSTN access ?

2019-11-19 Thread Olivier
Hello, I would like to offer end users in a LAN, asking for this (why ? I don't know) the capability to use a laptop (along or in replacement of hardphones) to emit and receive PSTN calls. PSTN pass through a plain SIP trunk which does not support video (nor Opus) How can I best integrate off-th

Re: [asterisk-users] trust_id_inbound=yes but take CallerID(Num) from From: not from PAI

2019-11-19 Thread Joshua C. Colp
On Tue, Nov 19, 2019 at 10:52 AM Benoit Panizzon wrote: > Hi Gang > > Next Problem which occurs. > > In Switzerland this is the common using form SIP Signaling: > > P-Asserted-Identity: Contains the provider provided and screened phone > number which is the 'legal' origin of the call. The origin

[asterisk-users] trust_id_inbound=yes but take CallerID(Num) from From: not from PAI

2019-11-19 Thread Benoit Panizzon
Hi Gang Next Problem which occurs. In Switzerland this is the common using form SIP Signaling: P-Asserted-Identity: Contains the provider provided and screened phone number which is the 'legal' origin of the call. The origin which is to be billed for the call. If the caller has a DDI Range, this

Re: [asterisk-users] Global number rewriting rules affecting ALL headers?

2019-11-19 Thread Benoit Panizzon
Quick update. I guessed right. I had put the call to the subrouting on the 'local' channel which is created after the call is being redirecting. If i put it on the calling channel and setting RDNIS to the correct value, the corrected phone nuber is transmitted to the calling party via Diversion

Re: [asterisk-users] Global number rewriting rules affecting ALL headers?

2019-11-19 Thread Joshua C. Colp
On Tue, Nov 19, 2019 at 9:24 AM Benoit Panizzon wrote: > Hi Joshua > > I had a shot at your suggestion, bug still no success. > > I fear the 181 is sent before the macro is called. > > I want to change the Diversion Header in the 181 message sent back to > the caller to put the number it contains

Re: [asterisk-users] Global number rewriting rules affecting ALL headers?

2019-11-19 Thread Benoit Panizzon
Hi Joshua I had a shot at your suggestion, bug still no success. I fear the 181 is sent before the macro is called. I want to change the Diversion Header in the 181 message sent back to the caller to put the number it contains in the correct e164 format (stripping the 0 and adding +41 for Switze

Re: [asterisk-users] Global number rewriting rules affecting ALL headers?

2019-11-19 Thread Joshua C. Colp
On Tue, Nov 19, 2019 at 6:11 AM Benoit Panizzon wrote: > Hi List > > One more Problem I stumbled upon. > > Using Asterisk in a TSP environement. > > Incomming IC Calls are e164 and have a NPRN (Routing Number) prefixed. > > Example: +419805561599 > +41 country prefix > 98055 Routing Prefix >

[asterisk-users] Global number rewriting rules affecting ALL headers?

2019-11-19 Thread Benoit Panizzon
Hi List One more Problem I stumbled upon. Using Asterisk in a TSP environement. Incomming IC Calls are e164 and have a NPRN (Routing Number) prefixed. Example: +419805561599 +41 country prefix 98055 Routing Prefix 61599 effective phone number Calls routed to Customers need to be put i