[Users] SEMS AVP
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Thu Jul 7 18:30:57 CEST 2005
Adam Sherman wrote:
>On 7/7/05, Bogdan-Andrei Iancu <bogdan at voice-system.ro> wrote:
>
>
>>>> modparam("tm", "tw_append", "vm_email:P-Email-Address=avp[i:34]")
>>>> ....
>>>> t_write_req("/tmp/sems_fifo", "voicemail/vm_email");
>>>>
>>>>
>>>Forgive my ignorance, but does this t_write_req replace the original
>>>one I have to just "voicemail"? If not, where would I insert it?
>>>
>>>
>>>
>>yes, it replace the original one. Has same functionality, but specifies
>>an extra list of information (vm_email) to be send along via fifo.
>>
>>
>
>The modparam is global though? It doesn't affect other calls? That confuses me.
>
>
the definition is global, but not the usage. If you want to use it or
not, you decide in the t_write_req call by appending "/vm_email"
specifier. Take a look at:
http://www.openser.org/docs/modules/0.9.x/tm.html#AEN245 (for
tw_append param)
http://www.openser.org/docs/modules/0.9.x/tm.html#AEN456 (for
t_write_req)
for sequential requests (like BYEs) you may call :
t_write_req("/tmp/sems_fifo", "voicemail");
which will do the same but without adding the email info (no extra info).
regards,
bogdan
More information about the Users
mailing list